Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetPrecisionConfig (0.2 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        if (dot.getDotDimensionNumbers() != first_dot.getDotDimensionNumbers())
          return rewriter.notifyMatchFailure(
              dot, "dot_general ops have different dimension numbers");
        if (dot.getPrecisionConfig() != first_dot.getPrecisionConfig())
          return rewriter.notifyMatchFailure(
              dot, "dot_general ops have different precision configs");
        if (!dot.getLhs().getType().hasStaticShape())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    //===----------------------------------------------------------------------===//
    // MatMul op patterns.
    //===----------------------------------------------------------------------===//
    
    def GetPrecisionConfig: NativeCodeCall<
      "GetPrecisionConfig(&$_builder)">;
    
    def : Pat<(TF_MatMulOp $a, $b, $transpose_a, $transpose_b, $grad_a, $grad_b),
              (MHLO_DotOp
              (TF_TransposeOp $a, (TF_ConstOp (Get2DTransposePerm $transpose_a))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

            BufferOffset<flatbuffers::Vector<unsigned int>> precision_config = 0;
            if (vhlo_op.getPrecisionConfig()) {
              precision_config = BuildVhloPrecisionConfigV1(
                  mlir::dyn_cast<mlir::vhlo::ArrayV1Attr>(
                      vhlo_op.getPrecisionConfig()));
            }
    
            auto convolution_option = tflite::CreateStablehloConvolutionOptions(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      if (axis < 0) {
        axis += rank;
      }
      return b->getI64IntegerAttr(axis);
    }
    
    // Returns a PrecisionConfig as an array attribute based on whether TF32
    // execution is enabled
    static ArrayAttr GetPrecisionConfig(Builder *builder) {
      mlir::mhlo::Precision precision = tsl::tensor_float_32_execution_enabled()
                                            ? mhlo::Precision::DEFAULT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

            op.getWindowStrides(), op.getPadding(), op.getLhsDilation(),
            op.getRhsDilation(), op.getFeatureGroupCount(),
            op.getDimensionNumbers(), op.getPrecisionConfig(), 1);
        return ::mlir::success();
      };
    };
    
    void XlaConvOp::getCanonicalizationPatterns(RewritePatternSet &results,
                                                MLIRContext *context) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top