Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for cctype (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

                  np.random.uniform(size=bias_shape), dtype=dtypes.float32
              )
    
            self._kernel = np.random.uniform(size=y_shape).astype('f4')
            self._min = (-0.8, -0.8, -0.9)
            self._max = (0.9, 0.9, 1.0)
    
          @def_function.function(
              input_signature=[
                  tensor_spec.TensorSpec(
                      name='x', shape=x_signature, dtype=dtypes.float32
                  )
              ]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultMapProperty.java

                    throw new IllegalArgumentException(String.format("Cannot set the %s of a property of type %s with key type %s and value type %s " +
                            "using a provider with key type %s and value type %s.", valueKind, Map.class.getName(), keyType.getName(), valueType.getName(),
                        providerKeyType.getName(), providerValueType.getName()));
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

                                         zero_points[0], q_type.getStorageTypeMin(),
                                         q_type.getStorageTypeMax());
      } else if (auto q_type = dyn_cast<quant::UniformQuantizedPerAxisType>(type)) {
        return quant::UniformQuantizedPerAxisType::get(
            q_type.getFlags(), q_type.getStorageType(), q_type.getExpressedType(),
            scales, zero_points, q_type.getQuantizedDimension(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            QType::getDefaultMinimumForInteger(/*isSigned=*/true, num_bits);
    
        auto flags = quant::QuantizationFlags::Signed;
        QType new_qtype;
        if (auto uqtype = qtype.template dyn_cast<quant::UniformQuantizedType>()) {
          new_qtype = quant::UniformQuantizedType::getChecked(
              op.getLoc(), flags, qtype.getStorageType(), qtype.getExpressedType(),
              uqtype.getScale(), uqtype.getZeroPoint() - offset,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Collectors.java

            private final Class<? extends T> type;
            protected final Collector<T> delegate;
            private final ValueCollector<T> valueCollector;
    
            public TypedCollector(@Nullable Class<? extends T> type, Collector<T> delegate) {
                this.type = type;
                this.delegate = delegate;
                this.valueCollector = ValueSanitizers.collectorFor(type);
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    	//         dates:
    	//           type: array
    	//           items:
    	//             type: string
    	//             format: date-time
    	//      metadata:
    	//        type: object
    	//        additionalProperties:
    	//          type: object
    	//          properties:
    	//            key:
    	//              type: string
    	//            values:
    	//              type: array
    	//              items: string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

    // RUN: odml-to-stablehlo-opt --compose-uniform-quantized-type \
    // RUN:     --split-input-file --verify-diagnostics %s | FileCheck %s
    
    module {
    // CHECK-LABEL: quantized_conv_op
    // CHECK-SAME: %[[ARG:.*]]: tensor<1x3x3x4xf32>
      func.func @quantized_conv_op(%arg0: tensor<1x3x3x4xf32>) -> tensor<1x3x3x4xf32> {
        %1 = stablehlo.constant dense<1.000000e+03> : tensor<1x1x1x1xf32>  // Input inverse scale.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

      ConvertToMlirShape(input_shape, &shape);
      auto type = RankedTensorType::get(shape, elt_type);
    
    #define CONVERT_FLAT(DTYPE, CTYPE) \
      case DTYPE:                      \
        return ConvertFlatTensor<CTYPE>(input_tensor, type);
    
      // TODO(fengliuai): customize the conversions for quantized types.
      switch (input_dtype) {
        CONVERT_FLAT(DT_BOOL, bool)
        CONVERT_FLAT(DT_FLOAT, float)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

                    throw new IllegalArgumentException(String.format("Cannot set the value of a property of type %s with element type %s using a provider with element type %s.", collectionType.getName(), elementType.getName(), collectionProp.getElementType().getName()));
                }
            }
            setSupplier(new CollectingSupplier(new ElementsFromCollectionProvider<>(p)));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/BUILD

            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:saved_model_export",
            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:saved_model_import",
            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:types",
            "//tensorflow/compiler/mlir/quantization/stablehlo/cc:weight_only_ptq",
            "//tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration:component",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top