Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for HYBRID (0.14 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. 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)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

       (IsConstTensor $filter),
       (IsInt32ElementType $conv),
       (HasStaticShapeConstraint $filter),
       (HasStaticShapeAtDimsConstraint<"3"> $input)],
      [], (addBenefit 10)>;
    
    // Convert Conv2D with hybrid inputs (f32 activation/int8 weight) to XlaConv
    def ConvertTFConv2DToXLAConvOpWeightOnly : Pat<
      (TF_Conv2DOp:$conv
        $input,
        (TF_MulOp (TF_CastOp (TF_IdentityOp $filter), $truncate1), $scale),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. pilot/pkg/security/authn/policy_applier.go

    		// cluster name, generate the jwt filter config using remote Jwks.
    		// If failed to parse the cluster name, only fallback to let istiod to fetch the jwksUri when
    		// remoteJwksMode is Hybrid.
    		if features.JwksFetchMode != jwt.Istiod && jwtRule.JwksUri != "" {
    			jwksInfo, err := security.ParseJwksURI(jwtRule.JwksUri)
    			if err != nil {
    				authnLog.Errorf("Failed to parse jwt rule jwks uri %v", err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

          double error_tolerance = 0.1) {
        // Expected result is calculated by evaluating using TF kernels. In some
        // cases, TF kernel behaves differently from lowered graph (e.g. Hybrid
        // ops). So we optionally use a different graph to calculate the expected
        // result.
        TF_ASSERT_OK_AND_ASSIGN(
            auto expected,
            this->EvaluateTfFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

      using impl::InsertWeightParamPassBase<
          InsertWeightParamPass>::InsertWeightParamPassBase;
    
     private:
      void runOnOperation() override;
    };
    
    // Inserts quantization parameters for weights for hybrid quantization of
    // `stablehlo.convolution` and `stablehlo.dot_general`.
    class InsertWeightParamPattern
        : public OpTraitRewritePattern<OpTrait::ConstantLike> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/passes.td

      ];
    }
    def DecomposeHybridQuantizationPass : Pass<"tfl-decompose-hybrid-quantization", "mlir::func::FuncOp"> {
      let summary = "Decomposes hybridge quantization to explicit quantize / dequantize";
      let description = [{
          Decomposes (with explicit quantize/dequantize ops) selected math
          operations which exist in the model with hybrid quantization
          (some arguments/results left in floating point).
      }];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/passes.h

    // Creates an instance of the TensorFlow Lite dialect QuantizeVariables pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreatePrepareQuantizeVariablesPass();
    
    // Creates an instance of the TensorFlow Lite pass that decomposes hybrid
    // quantization patterns to the same dense operation with tfl dequantization
    // and quantization patterns.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDecomposeHybridQuantizationPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top