- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for split_dim (0.32 sec)
-
tensorflow/compiler/mlir/lite/tests/ops.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
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/lite/ir/tfl_ops.cc
if (!input_type) return success(); int64_t split_dim = split_dim_opt.value(); const int64_t rank = input_type.getRank(); if (split_dim < 0) split_dim += rank; if (split_dim < 0 || split_dim >= rank) return op.emitOpError("'split_dim' should be in [-rank, rank)"); // If the 'split_dim' dimension of the 'input' tensor has a dynamic size, // there are no other checks.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
let description = [{ Splits the `value` tensor along `split_dim` into a number of sub-tensors with same shape as the original one, except for `split_dim`. Same as tf.Split. }]; let arguments = (ins TFL_TensorOf<[I32]>:$split_dim, TFL_TensorOf<[F32, I16, I32, I8, UI8, QI8, QUI8, QI16]>:$value, ConfinedAttr<I32Attr, [IntPositive]>:$num_splits
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
template <class Op> LogicalResult VerifySplitInputAndSplitDim(Op op, std::optional<int64_t> *dim_index) { *dim_index = std::nullopt; Value split_dim = op.getSplitDim(); if (auto split_dim_type = split_dim.getType().dyn_cast<RankedTensorType>()) if (split_dim_type.getRank() != 0) return op.emitOpError( "split dimension should be an integer scalar tensor");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// ----- // CHECK-LABEL: @split_not_match_dynamic_split_dim_input func.func @split_not_match_dynamic_split_dim_input(%input: tensor<4x4xf32>, %split_dim: tensor<i32>) -> (tensor<*xf32>, tensor<*xf32>) { // CHECK: tf.Split %0:2 = "tf.Split"(%split_dim, %input) : (tensor<i32>, tensor<4x4xf32>) -> (tensor<*xf32>, tensor<*xf32>) func.return %0#0, %0#1 : tensor<*xf32>, tensor<*xf32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
Eq(BuiltinOperator_SPLIT)); EXPECT_THAT(GetBuiltinCode(model_.operator_codes[add->opcode_index].get()), Eq(BuiltinOperator_ADD)); // There should be 5 tensors: input, output, split, split/split_dim, split:1. // Tensor indices could be different between original and quantized. EXPECT_THAT(subgraph->tensors, SizeIs(5)); const int input_idx = 0; EXPECT_THAT(subgraph->tensors[input_idx]->type, Eq(TensorType_INT8));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
// // For example, given the following IR: // // %split_sizes = "tf.Const"() {value = dense<[1, -1, 3]> : tensor<3xi32>} // %split_dim = "tf.Const"() {value = dense<1> : tensor<i32>} // %0:3 = "tf.SplitV"(%input, %split_sizes, %split_dim) : // (tensor<4x6xf32>, tensor<3xi32>, tensor<i32>) -> // (tensor<4x1xf32>, tensor<4x2xf32>, tensor<4x3xf32>) //
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/tensorflow/ir/tf_generated_ops.td
`[-rank(value), rank(value))`.}]>:$split_dim, Arg<TF_Tensor, [{The tensor to split.}]>:$value ); let results = (outs Res<Variadic<TF_Tensor>, [{They are identically shaped tensors, whose shape matches that of `value` except along `axis`, where their sizes are `values.shape[split_dim] / num_split`.}]>:$output );
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
RELEASE.md
`seq_dim` becomes `seq_axis` * `tf.sparse_concat`: `concat_dim` becomes `axis` * `tf.sparse_reduce_sum`: `reduction_axes` becomes `axis` * `tf.sparse_reduce_sum_sparse`: `reduction_axes` becomes `axis` * `tf.sparse_split`: `split_dim` becomes `axis` * `tf.listdiff` has been renamed to `tf.setdiff1d` to match NumPy naming. * `tf.inv` has been renamed to be `tf.reciprocal` (component-wise reciprocal) to avoid confusion with `np.inv`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0)