- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetPaddingValue (0.12 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
padding_value.push_back(CastI64ToI32(padding_high[i]).value()); } TensorType output_type = op.getResult().getType().cast<TensorType>(); Value constant_values = op.getPaddingValue(); auto padding_attr = DenseIntElementsAttr::get(padding_type, padding_value); auto padding = rewriter.create<arith::ConstantOp>(op.getLoc(), padding_attr);
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/lite/stablehlo/transforms/legalize_hlo.cc
auto new_pad_op = rewriter.create<TF::PadV2Op>( loc, pad_op.getType().clone(pad_output_shape), pad_op.getOperand(), padding_amount_const_op, pad_op.getPaddingValue()); if (!has_negative_padding_amount) { return new_pad_op; } // Convert negative padding amount into slice. auto slice_attr_type = RankedTensorType::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)