- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for split_dim (0.22 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/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/tensorflow/tests/tf-ops.mlir
// ----- func.func @testSplitNonConstSplitDim(%input: tensor<4x4xf32>, %split_dim: tensor<i32>) { %0:2 = "tf.Split"(%split_dim, %input) : (tensor<i32>, tensor<4x4xf32>) -> (tensor<*xf32>, tensor<*xf32>) func.return } func.func @testSplitUnknownRankSplitDim(%input: tensor<4x4xf32>, %split_dim: tensor<*xi32>) { %0:2 = "tf.Split"(%split_dim, %input) : (tensor<*xi32>, tensor<4x4xf32>) -> (tensor<*xf32>, tensor<*xf32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K 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)