Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for HYBRID (0.15 sec)

  1. tensorflow/compiler/mlir/lite/tests/decompose-hybrid-quantization.mlir

    // RUN: tf-opt --tfl-decompose-hybrid-quantization --verify-each %s | FileCheck %s
    
    // CHECK-LABEL: @test_conv2d_float
    func.func @test_conv2d_float(%arg0: tensor<1x32x32x8xf32>) -> tensor<1x32x32x16xf32> {
      // CHECK-DAG: %[[VAL0:.+]] = "tfl.pseudo_const"() <{value = dense<42> : tensor<16x1x1x8xi8>}>
      // CHECK-DAG: %[[VAL1:.+]] = "tfl.pseudo_const"() <{value = dense<1> : tensor<16x1x1x8xi8>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

          GetTransferredElementCount(from_graph, to_graph);
    
      if (from_inference_type == FLOAT || from_inference_type == HYBRID) {
        // FLOAT <-> HYBRID will have no quant/dequant as well.
        if (to_inference_type == FLOAT || to_inference_type == HYBRID) {
          return 0;
        } else if (to_inference_type == QUANTIZED_INT8 ||
                   to_inference_type == QUANTIZED_UINT8) {
          // QUANT path.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy

        }
    
        def "can apply hybrid plugin with no id"() {
            when:
            manager.apply(hybridClass)
    
            then:
            1 * target.applyImperativeRulesHybrid(null, { hybridClass.isInstance(it) }, hybridClass)
    
            and:
            manager.pluginContainer.size() == 1
        }
    
        def "can apply hybrid plugin by class with id"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

          attrs.push_back(rewriter.getNamedAttr(
              attr_minmax, rewriter.getI64IntegerAttr(quant_val)));
        }
      }
      return success();
    }
    
    // This LogicalResult covers both the hybrid and fully quantized op cases.
    LogicalResult FillAttributesForUniformQuantizedDotOp(
        PatternRewriter& rewriter, Operation* op,
        llvm::StringMap<Attribute>& identifier_to_attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_weight_only.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-quantize | FileCheck %s
    
    // Test that hybrid quantized dot_general is produced when q/dq pair only exists
    // for weight.
    
    module attributes {tf_saved_model.semantics} {
      func.func private @quantize_dot_general_fn(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} {
        %cst = stablehlo.constant dense<3.000000e-01> : tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/common/utils.cc

      }
    
      // We should not observe both uint8 & int8.
      if (int8_type_observed && uint8_type_observed) return UNKNOWN;
    
      if (float_type_observed) {
        if (int8_type_observed || uint8_type_observed) {
          return HYBRID;
        } else {
          return FLOAT;
        }
      }
    
      if (int8_type_observed) {
        return QUANTIZED_INT8;
      }
    
      if (uint8_type_observed) {
        return QUANTIZED_UINT8;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 05:37:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

    // point constant.
    def : Pat<(TFL_DequantizeOp
                 (TFL_QuantizeOp (Arith_ConstantOp F32ElementsAttr:$cst), $qt)),
              (TFL_ConstOp $cst)>;
    
    // Transpose conv supports hybrid computation with quantized weights.
    def FoldQuantWeightsIntoTposeConv : Pat<
      (TFL_TransposeConvOp
        $output_shape,
        (TFL_DequantizeOp $quant_weights),
        $quant_input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td

    include "tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td"
    include "mlir/Interfaces/CallInterfaces.td"
    include "mlir/Interfaces/InferTypeOpInterface.td"
    include "mlir/IR/OpAsmInterface.td"
    
    // TODO(b/230804708): Add hybrid dot general.
    def TF_UniformQuantizedDotGeneralOp : TF_Op<"UniformQuantizedDotGeneral", [Pure]> {
      // TODO(b/230804708): Improve the operator description.
      let summary = "Quantized dot general operator.";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

    limitations under the License.
    ==============================================================================*/
    
    // This transformation pass decomposes dense operations that assume
    // support for hybrid quantization. These cases cover when a dense operation
    // (e.g. matmul) has both quantized and unquantized inputs by dequantizing
    // the quantized inputs, performing the operation in the expressed type, then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. pilot/pkg/features/pilot.go

    		v := env.Register(
    			"PILOT_JWT_ENABLE_REMOTE_JWKS",
    			"false",
    			"Mode of fetching JWKs from JwksUri in RequestAuthentication. Supported value: "+
    				"istiod, false, hybrid, true, envoy. The client fetching JWKs is as following: "+
    				"istiod/false - Istiod; hybrid/true - Envoy and fallback to Istiod if JWKs server is external; "+
    				"envoy - Envoy.",
    		).Get()
    		return jwt.ConvertToJwksFetchMode(v)
    	}()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top