- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for split_dim (0.09 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
// TODO(renjieliu): change to use split_dim when we raise the constants // as well. int64_t split_dim = -1; for (int64_t d = 0; d < input_type.getRank(); ++d) { if (input_type.getDimSize(d) != output_type.getDimSize(d)) split_dim = d; } const SmallVector<Value, 4>& slice_outputs = SliceOutputs( split_op, input, input_type, split_dim, num_splits, &rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc
CompileTimeConstantOperand<TF::SliceOp, 1, 2>, // $begin, $size CompileTimeConstantOperand<TF::SparseToDenseOp, 1>, // $output_shape CompileTimeConstantOperand<TF::SplitOp, 0>, // $split_dim // $size_splits, $split_dim CompileTimeConstantOperand<TF::SplitVOp, 1, 2>, CompileTimeConstantOperand<TF::StackV2Op, 0>, // $max_size // $num_samples
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 17.5K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
TEST_F(ArrayGradTest, SplitGrad) { TensorShape x_shape({5, 2}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); // Split along the second dimension. auto split_dim = Const(scope_, 1, {}); auto y = Split(scope_, split_dim, x, /* num_split */ 2); TensorShape y_shape = TensorShape({5, 1}); RunTest({x}, {x_shape}, y.output, {y_shape, y_shape}); } TEST_F(ArrayGradTest, SplitVGrad) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0)