Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPaddingAttr (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

    FailureOr<ElementsAttr> ConvertPaddingAttr(
        UniformQuantizedConvolutionOp op,
        const xla::ConvolutionDimensionNumbers &dnums, PatternRewriter &rewriter) {
      StringAttr conv_padding = op.getPaddingAttr();
      SmallVector<int64_t> padding_nums;
      ShapedType lhs_shape = mlir::cast<ShapedType>(op.getLhs().getType());
      ShapedType rhs_shape = mlir::cast<ShapedType>(op.getRhs().getType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    #include "tsl/platform/status.h"
    
    namespace {
    
    using ::absl::StatusOr;
    using ::tensorflow::Status;
    using ::tensorflow::errors::InvalidArgument;
    
    StatusOr<mlir::StringAttr> GetPaddingAttr(TfLitePadding pad_params,
                                              mlir::Builder builder,
                                              mlir::Location loc) {
      auto padding = tflite::Padding::Padding_VALID;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top