Home
last modified time | relevance | path

Searched refs:num_lower (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dmatrix_band_part_op.cc51 xla::XlaOp num_lower = context->Input(1); in Compile() local
73 num_lower = xla::Select(xla::Lt(num_lower, zero_index), in Compile()
75 num_lower); in Compile()
80 auto indicator = xla::And(xla::Le(xla::Neg(num_lower), offset), in Compile()
/external/tensorflow/tensorflow/core/kernels/linalg/
Dmatrix_band_part_op.cc74 const int64 num_lower = as_int64_scalar(num_lower_in); in Compute() local
76 context, num_lower <= input_reshaped.dimension(1), in Compute()
79 input_reshaped.dimension(1), ") got: ", num_lower)); in Compute()
93 ((num_lower < 0 || num_lower == input_reshaped.dimension(1)) && in Compute()
105 fn(context, context->eigen_device<Device>(), num_lower, num_upper, in Compute()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_MatrixBandPart.pbtxt10 name: "num_lower"
39 `in_band(m, n) = (num_lower < 0 || (m-n) <= num_lower)) &&
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DMatrixBandPart.pbtxt8 name: "num_lower"
31 name: "num_lower"
DBatchMatrixBandPart.pbtxt8 name: "num_lower"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DMatrixBandPart.pbtxt8 name: "num_lower"
31 name: "num_lower"
DBatchMatrixBandPart.pbtxt8 name: "num_lower"
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_patterns.td401 // and two integers, `num_lower` and `num_upper`:
405 // num_lower_or_m = (num_lower < 0) ? m : num_lower
413 def : Pattern<(TF_MatrixBandPartOp:$op AnyStaticShapeTensor:$input, $num_lower,
415 [(HLO_ConstOp:$m_dim (GetDimensionSizeFromEnd<"1"> $input, $num_lower)),
419 $num_lower, (HLO_ConstOp:$zero (ConstantSplat<"0"> $num_lower)),
423 $num_lower
438 (createIotaOp<"1"> $op, $input, $num_lower),
439 (createIotaOp<"0"> $op, $input, $num_lower)
Dlegalize_tf.cc790 static RankedTensorType Get2DTensorType(Value input, Value num_lower) { in Get2DTensorType() argument
794 auto element_type = num_lower.getType().cast<TensorType>().getElementType(); in Get2DTensorType()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Darray_test.py368 for num_lower, num_upper in ((0, -1), (-1, 0), (1, 1)):
372 array_ops.gather(x, i), num_lower=num_lower, num_upper=num_upper)
Dpfor.py2136 num_lower = pfor_input.unstacked_input(1)
2139 array_ops.matrix_band_part(t, num_lower=num_lower, num_upper=num_upper),
/external/tensorflow/tensorflow/cc/gradients/
Darray_grad_test.cc146 const int64 num_lower = 1; in TEST_F() local
148 auto y = MatrixBandPart(scope_, x, num_lower, num_upper); in TEST_F()
Darray_grad.cc177 auto num_lower = op.input(1); in MatrixBandPartGrad() local
180 MatrixBandPart(scope, grad_inputs[0], num_lower, num_upper)); in MatrixBandPartGrad()
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinalg_impl.py1004 band_part(lower_upper, num_lower=-1, num_upper=0),
1127 band_part(lower_upper, num_lower=-1, num_upper=0),
1129 upper = band_part(lower_upper, num_lower=0, num_upper=-1)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.linalg.pbtxt97 …argspec: "args=[\'input\', \'num_lower\', \'num_upper\', \'name\'], varargs=None, keywords=None, d…
Dtensorflow.pbtxt1641 …argspec: "args=[\'input\', \'num_lower\', \'num_upper\', \'name\'], varargs=None, keywords=None, d…
Dtensorflow.raw_ops.pbtxt373 …argspec: "args=[\'input\', \'num_lower\', \'num_upper\', \'name\'], varargs=None, keywords=None, d…
2373 …argspec: "args=[\'input\', \'num_lower\', \'num_upper\', \'name\'], varargs=None, keywords=None, d…
/external/tensorflow/tensorflow/python/ops/
Darray_grad.py529 num_lower = op.inputs[1]
531 return (array_ops.matrix_band_part(grad, num_lower, num_upper), None, None)
/external/tensorflow/tensorflow/python/ops/distributions/
Dutil.py908 x, num_lower=(0 if upper else -1), num_upper=(-1 if upper else 0))
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_a_m.cc2675 if (!IsOfRankOrUnranked(op.num_lower(), 0)) { in Verify()
2678 << op.num_lower().getType(); in Verify()
Dtf_generated_ops.td7144 `in_band(m, n) = (num_lower < 0 || (m-n) <= num_lower)) &&
7178 lower triangle.}]>:$num_lower,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt373 …argspec: "args=[\'input\', \'num_lower\', \'num_upper\', \'name\'], varargs=None, keywords=None, d…
2373 …argspec: "args=[\'input\', \'num_lower\', \'num_upper\', \'name\'], varargs=None, keywords=None, d…
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt4783 name: "num_lower"
4806 name: "num_lower"
16010 name: "num_lower"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf-ops.mlir1415 // expected-error @+1 {{op requires `num_lower` to have 0 dimensions, but found 'tensor<32xi64>'}}
/external/tensorflow/tensorflow/go/op/
Dwrappers.go7064 func MatrixBandPart(scope *Scope, input tf.Output, num_lower tf.Output, num_upper tf.Output) (band …
7071 input, num_lower, num_upper,

12