- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for split_dim (0.18 sec)
-
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)