- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for set_dimension (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
!indices_ty.getElementType().isInteger(32)) return rewriter.notifyMatchFailure( op, "only match for the case where the second operand an I32 shapeType"); auto sort_dim = op.getDimension(); auto k = indices_ty.getDimSize(sort_dim); auto rank = keys_ty.getRank(); if (sort_dim != rank - 1 || k < 1) return rewriter.notifyMatchFailure(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
auto concat_option = tflite::CreateStablehloConcatenateOptions( builder_, mlir::cast<mlir::vhlo::IntegerV1Attr>(vhlo_op.getDimension()) .getValue() .getSExtValue()); return tflite::CreateOperator( builder_, opcode_index, builder_.CreateVector(operands),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
} void rewrite(stablehlo::ConcatenateOp op, PatternRewriter& rewriter) const override { Type output_type = op.getResult().getType(); uint32_t axis = CastI64ToI32(op.getDimension()).value(); rewriter.replaceOpWithNewOp<TFL::ConcatenationOp>( op, output_type, op.getOperands(), axis, /*fused_activation_function=*/rewriter.getStringAttr("NONE")); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
<< "] different than the shape of input[0]: " << input_ty_0.getShape(); } } } ElementsAttr dimension; if (matchPattern(op.getDimension(), m_Constant(&dimension))) { if (dimension.getShapedType().getRank() != 0 || dimension.getShapedType().getNumElements() != 1) return op.emitOpError() << "dimension must be a scalar"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)