- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for value_rank (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
if (!value_type) return success(); int64_t value_rank = value_type.getRank(); int64_t axis = op.getAxis(); if (axis < -value_rank || axis >= value_rank) return op.emitOpError("axis attribute must be in the range of [-") << value_rank << ", " << value_rank << ')'; axis = GetDimForAxis(axis, value_rank); int64_t dim_size = value_type.getDimSize(axis);
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/transforms/legalize_tf.cc
if (!value_type) return failure(); int64_t value_rank = value_type.getRank(); int64_t axis = op.getAxis(); if (axis < 0) axis += value_rank; // Parameters for constructing each slice. SmallVector<int64_t, 4> begin_indices(value_rank, 0); auto end_indices = llvm::to_vector<4>(value_type.getShape()); SmallVector<int64_t, 4> strides(value_rank, 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (1)