Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pseudo_const (0.11 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %cst0 = "tfl.pseudo_const" () {value = dense<0.0> : tensor<4xf32>} : () -> tensor<4xf32> loc("Const")
      %cst1 = "tfl.pseudo_const" () {value = dense<0.0> : tensor<4xf32>} : () -> tensor<4xf32> loc("Const")
      // expected-error @+1 {{'tfl.lstm' op failed to verify that operand 2 is 2-D}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // Checks that the `tfl.pseudo_qconst` corresponding to the `stablehlo.constant`
    // has the same shape.
    // CHECK: %[[QCONST_0:.+]] = "tfl.pseudo_qconst"() <{qtype = tensor<2x3x!quant.uniform<i8:f32:0, {3.000000e+00,3.000000e+00}>>, value = dense<1> : tensor<2x3xi8>}> : () -> tensor<2x3x!quant.uniform<i8:f32:0, {3.000000e+00,3.000000e+00}>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

          // uint8 doesn't require same operands and results scales.
          bool is_uint8 = !sign && (bit_width == 8);
          return !is_uint8;
        }
      }];
    }
    
    def TFL_ConstOp : Op<TFL_Dialect, "pseudo_const", [ConstantLike, Pure,
        FirstAttrDerivedResultType,
        QuantizableResult,
        DeclareOpInterfaceMethods<TFL_RuntimeVerification>]> {
      let summary = "Constant pseudo op.";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                                               Type type, Location loc) {
      // If this is a constant bytes attribute or the result type doesn't match the
      // attribute type, then generate a tfl.pseudo_const.
      if (value.isa<ConstBytesAttr>() ||
          (value.isa<ElementsAttr>() &&
           value.cast<ElementsAttr>().getType() != type))
        return builder.create<ConstOp>(loc, type, value.cast<ElementsAttr>());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0: tensor<2xi32>
    
    // CHECK-LABEL: @const
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

            rhs_qconst_op ? rhs_qconst_op : op.getOperand(1),
            /*fused_activation_function=*/rewriter.getStringAttr("NONE"));
      }
    };
    
    // Rewrites quantized `stablehlo.constant` to `tfl.pseudo_qconst`.
    class RewriteQuantizedConstantOp
        : public OpRewritePattern<stablehlo::ConstantOp> {
     public:
      using OpRewritePattern<stablehlo::ConstantOp>::OpRewritePattern;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
Back to top