- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for high_padding (0.13 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
llvm::SmallVector<int64_t, 4> high_padding(rank, 0); llvm::SmallVector<int64_t, 4> interior_padding(rank, 0); low_padding[axis] = 1; high_padding[axis] = -1; result = rewriter.create<PadOp>( op.getLoc(), result, init, GetI64ElementsAttr(low_padding, &rewriter), GetI64ElementsAttr(high_padding, &rewriter),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 01 05:00:29 UTC 2021 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py
def _tfr_tf_ops_complex(lhs, rhs): left_padding, _ = array_ops.SplitV( value=lhs, size_splits=[rhs, -1], axis=0, num_split=2) _, right_padding = array_ops.SplitV( value=lhs, size_splits=[rhs, rhs], axis=1, num_split=2) return [left_padding, right_padding] @composite.Composite('TestIdentityOp') def _tfr_tf_ops_tensor(x): return array_ops.Identity(x)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 13 16:33:28 UTC 2021 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
int64_t left_padding = padding[2 * dim]; int64_t right_padding = padding[2 * dim + 1]; if (dim == cumulative_axis) { if (left_padding != padding_value) return failure(); } else { if (left_padding != 0) return failure(); } if (right_padding != 0) return failure(); } auto axis = rewriter.create<TF::ConstOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)