Home
last modified time | relevance | path

Searched refs:h_shape (Results 1 – 5 of 5) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/src/
H A Dlists.rs872 h_shape: Option<Shape>, in struct_lit_tactic()
876 if let Some(h_shape) = h_shape { in struct_lit_tactic()
882 definitive_tactic(items, prelim_tactic, Separator::Comma, h_shape.width) in struct_lit_tactic()
892 h_shape: Option<Shape>, in shape_for_tactic()
896 DefinitiveListTactic::Horizontal => h_shape.unwrap(), in shape_for_tactic()
H A Dpatterns.rs291 let (h_shape, v_shape) = in rewrite_struct_pat()
314 let tactic = struct_lit_tactic(h_shape, context, &item_vec); in rewrite_struct_pat()
315 let nested_shape = shape_for_tactic(tactic, h_shape, v_shape); in rewrite_struct_pat()
319 let one_line_width = h_shape.map_or(0, |shape| shape.width); in rewrite_struct_pat()
H A Dexpr.rs1541 let (h_shape, v_shape) = struct_lit_shape(shape, context, path_str.len() + 3, 2)?; in rewrite_struct_lit()
1543 let one_line_width = h_shape.map_or(0, |shape| shape.width); in rewrite_struct_lit()
1607 let tactic = struct_lit_tactic(h_shape, context, &item_vec); in rewrite_struct_lit()
1608 let nested_shape = shape_for_tactic(tactic, h_shape, v_shape); in rewrite_struct_lit()
/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/routines/
H A Dn_step_rnn.cc150 Shape h_shape{h.shape()[1], h.shape()[2]}; in OneDirectionalLoop() local
151 h = Reshape(h, h_shape); in OneDirectionalLoop()
153 *c = Reshape(*c, h_shape); in OneDirectionalLoop()
/dports/science/py-scipy/scipy-1.7.1/scipy/signal/
H A Dsignaltools.py1010 def _conv_ops(x_shape, h_shape, mode): argument
1020 out_shape = [n + k - 1 for n, k in zip(x_shape, h_shape)]
1022 out_shape = [abs(n - k) + 1 for n, k in zip(x_shape, h_shape)]
1029 s1, s2 = x_shape, h_shape
1047 full_out_shape = [n + k - 1 for n, k in zip(x_shape, h_shape)]