Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for SYMMETRIC (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

        // When `disable_per_channel_` is false, per-channel symmetric quantization
        // parameters are created from the weights when the ops support per-channel
        // quantization. Otherwise, uses per-tensor asymmetric quantization with
        // narrow range.
    
        // per-axis quantization weight, with symmetric min/max enforced.
        final_type = GetUniformQuantizedPerAxisTypeForWeight(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/array_grad_test.cc

      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      auto paddings = Const(scope_, {{1, 1}, {2, 2}});
      TensorShape y_shape({4, 7});
      auto y = MirrorPad(scope_, x, paddings, "SYMMETRIC");
      RunTest(x, x_shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, MirrorPadGradGrad_Reflect) {
      TensorShape x_shape({4, 7});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

        there's any, and set it to True. The reason behind this decision is that
        generally activations of these ops show better accuracy with asymmetric
        input quantization so we want to deprecate symmetric activation quantization
        for those ops eventually.
        - Unlike to the old quantizer, per-channel quantization is supported for
        weight-only TransposeConvOp.
      }];
    
      let methods = [
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    };
    
    // Matches the pattern for quantized convolution op and rewrites it to use
    // uniform quantized types.
    //
    // Currently assumes asymmetric per-tensor quantization for activations and
    // symmetric per-channel quantization for filters.
    //
    // This pattern represents the following derived equation, where:
    // * rn = real (expressed) value for tensor n
    // * qn = quantized value for tensor n
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  5. src/crypto/tls/ech.go

    		if _, ok := hpke.SupportedAEADs[s.AEADID]; !ok {
    			continue
    		}
    		if _, ok := hpke.SupportedKDFs[s.KDFID]; !ok {
    			continue
    		}
    		return s, nil
    	}
    	return echCipher{}, errors.New("tls: no supported symmetric ciphersuites for ECH")
    }
    
    func encodeInnerClientHello(inner *clientHelloMsg, maxNameLength int) ([]byte, error) {
    	h, err := inner.marshalMsg(true)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

          // Computes the effective min/max values of the attribute values.
          quant::ExtractMinMaxFromAttr(attr, /*dim_size=*/1, /*slice_size=*/1,
                                       /*symmetric=*/true, mins, maxs);
          double scale = maxs[0] / -llvm::minIntN(tensor_property.number_of_bits);
          quant_type = UniformQuantizedType::getChecked(
              const_op->getLoc(), quant::QuantizationFlags::Signed,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

        }
    
        if (is_per_channel_quantization) {
          quant_type = mlir::dyn_cast<quant::QuantizedType>(
              quant::GetUniformQuantizedPerAxisTypeForWeight(
                  attr, quant_dim,
                  /*symmetric=*/true, bit_width, is_signed, is_narrow_range,
                  is_legacy_float));
        } else {
          quant_type = mlir::dyn_cast<quant::QuantizedType>(
              quant::GetUniformQuantizedTypeForWeight(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    	"k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy"
    )
    
    // semanticRoles is a few enumerated roles for which the relationships are well established
    // and we want to maintain symmetric roles
    type semanticRoles struct {
    	admin *rbacv1.ClusterRole
    	edit  *rbacv1.ClusterRole
    	view  *rbacv1.ClusterRole
    }
    
    func getSemanticRoles(roles []rbacv1.ClusterRole) semanticRoles {
    	ret := semanticRoles{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go

    		b.Run(fmt.Sprintf("intersection-%v", here.size), func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				randOperand().Intersection(randOperand())
    			}
    		})
    
    		b.Run(fmt.Sprintf("symmetric-difference-%v", here.size), func(b *testing.B) {
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				randOperand().SymmetricDifference(randOperand())
    			}
    		})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 03:47:18 UTC 2022
    - 8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        flatbuffers::FlatBufferBuilder* builder) {
      switch (padding) {
        case mlir::TFL::MirrorPaddingType::REFLECT:
          return tflite::MirrorPadMode_REFLECT;
        case mlir::TFL::MirrorPaddingType::SYMMETRIC:
          return tflite::MirrorPadMode_SYMMETRIC;
      }
      llvm_unreachable("invalid mirror_pad_enum in conversion.");
    }
    
    static tflite::TensorType ConvertDerivedTypeAttrForOptionWriter(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top