Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsPrecisionEmpty (0.12 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.td

    include "tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td"
    
    // Only handles the case where precision config is default.
    def IsPrecisionEmpty :
      Constraint<CPred<"IsPrecisionEmpty($0)">>;
    
    // Creates Einsum Op from XlaDotV2 Op by generating equation.
    def CreateEinsumOpFromXlaDotV2Op : NativeCodeCall<
      "CreateEinsumOpFromXlaDotV2Op($_builder, $_loc, $0...)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

        }
      }
      if (!new_shape.empty()) new_shape[0] = -1;
      return builder.create<TF::ReshapeOp>(
          loc, output.getType(), slice_op,
          Create1DConstValue(builder, loc, new_shape));
    }
    
    bool IsPrecisionEmpty(StringAttr prec_str) {
      xla::PrecisionConfig prec;
      prec.ParseFromString(prec_str.str());
      return !prec.operand_precision_size();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top