- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for axis_value (0.39 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/lite/experimental/tac/transforms/device_transform_patterns.cc
if (!matchPattern(mean_op.getAxis(), m_Constant(&axis_const))) return failure(); if (axis_const.size() != 2) return failure(); auto axis_values = axis_const.getValues<APInt>(); int i = 1; for (auto axis_value : axis_values) { if (axis_value != i++) return failure(); } auto output = mean_op.getOutput(); auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(output.getType());
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/tensorflow/transforms/lower_tf.cc
prev_input_ty = input_ty; } expanded_inputs.push_back( rewriter.create<ExpandDimsOp>(loc, inferred_ty, input, axis_value)); } rewriter.replaceOpWithNewOp<ConcatV2Op>(op, op.getType(), expanded_inputs, axis_value); return success(); } }; // Lowers SpaceToBatchND by reducing to reshape(transpose(reshape(pad(input)))). //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy
given: file("src/main/cpp/main.cpp") << """ #include "foo.h" int main(int argc, char** argv) { return EXIT_VALUE; } """ and: buildFile << """ apply plugin: 'cpp-application' def headerDirectory = objects.directoryProperty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 19:11:01 UTC 2024 - 42.5K 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)