- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for axis_value (0.17 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
auto input_type = operand0.getType().cast<ShapedType>(); // Check axis bounds. if (input_type.hasRank()) { int32_t axis_value = op.getAxis(); if (axis_value < 0) axis_value += input_type.getRank() + 1; if (axis_value < 0 || axis_value >= input_type.getRank() + 1) return op.emitOpError() << "op attribute 'axis' should be in range [-rank - 1, rank + 1), "
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/ir/tf_ops_n_z.cc
auto shape = llvm::to_vector<2>(indices_ty.getShape()); if (axis_val == -1) axis_val = shape.size(); int64_t depth_val = ShapedType::kDynamic; DenseIntElementsAttr depth_attr; if (matchPattern(depth, m_Constant(&depth_attr)) && depth_attr.getNumElements() == 1) depth_val = (*depth_attr.begin()).getSExtValue(); shape.insert(shape.begin() + axis_val, depth_val);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)