Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,141 for convertIP (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/stablehlo_quantizer_odml_oss.ipynb

            "    }\n",
            "converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)\n",
            "converter.target_spec.supported_ops = [\n",
            "    tf.lite.OpsSet.SELECT_TF_OPS,  # enable TensorFlow ops.\n",
            "    tf.lite.OpsSet.TFLITE_BUILTINS,  # enable TFL ops.\n",
            "]\n",
            "converter.representative_dataset = calibration_dataset\n",
            "converter.optimizations = [tf.lite.Optimize.DEFAULT]\n",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 12 03:40:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/internal/typeconversion/NotationConverter.java

         */
        void convert(N notation, NotationConvertResult<? super T> result) throws TypeConversionException;
    
        /**
         * Describes the formats that this converter accepts.
         */
        void describe(DiagnosticsVisitor visitor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

        }
    
        @Override
        public void convert(Object notation, NotationConvertResult<? super Object> result) throws TypeConversionException {
            if (notation instanceof File) {
                result.converted(notation);
                return;
            }
            if (notation instanceof Path) {
                result.converted(((Path) notation).toFile());
                return;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/webhook_converter.go

    	}
    	return nil
    }
    
    // restoreObjectMeta deep-copies metadata from original into converted, while preserving labels and annotations from converted.
    func restoreObjectMeta(original, converted *unstructured.Unstructured) error {
    	obj, found := converted.Object["metadata"]
    	if !found {
    		return fmt.Errorf("missing metadata in converted object")
    	}
    	responseMetaData, ok := obj.(map[string]interface{})
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:37:55 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/PathNotationConverter.java

                    .noImplicitConverters()
                    .allowNullInput()
                    .converter(new PathNotationConverter())
                    .toComposite();
        }
    
        @Override
        public void convert(Object notation, NotationConvertResult<? super String> result) throws TypeConversionException {
            if (notation == null) {
                result.converted(null);
            } else if (notation instanceof CharSequence
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.h

    namespace quantfork {
    class UniformQuantizedValueConverter;
    
    /// Converts an attribute from a type based on
    /// quantizedElementType.getExpressedType() to one based on
    /// quantizedElementType.getStorageType(), where quantizedElementType is as from
    /// QuantizedType::getQuantizedElementType().
    /// Returns nullptr if the conversion is not supported. On success, stores the
    /// converted type in outConvertedType.
    ///
    /// Examples:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 29 18:55:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. cmd/kubectl-convert/kubectl-convert.go

    	"k8s.io/cli-runtime/pkg/genericclioptions"
    	"k8s.io/cli-runtime/pkg/genericiooptions"
    	"k8s.io/component-base/cli"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    	"k8s.io/kubernetes/pkg/kubectl/cmd/convert"
    )
    
    func main() {
    	flags := pflag.NewFlagSet("kubectl-convert", pflag.ExitOnError)
    	pflag.CommandLine = flags
    
    	kubeConfigFlags := genericclioptions.NewConfigFlags(true).WithDeprecatedPasswordFlag()
    	kubeConfigFlags.AddFlags(flags)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

      ElementsAttr convert(Attribute real_value);
    
     private:
      // Quantize an DenseFPElementsAttr by the quantization parameters.
      DenseElementsAttr convert(DenseFPElementsAttr attr);
    
      // Get a uniform converter for the index-th chunk along the quantizationDim.
      // All the elements in this chunk is quantized by the returned converter.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ComponentSelectorParsers.java

                visitor.example("Project objects, e.g. project(':api').");
            }
    
            @Override
            public void convert(Project notation, NotationConvertResult<? super ComponentSelector> result) throws TypeConversionException {
                result.converted(DefaultProjectComponentSelector.newSelector(notation, ImmutableAttributes.EMPTY, Collections.emptyList()));
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 01:47:36 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/response-directly.md

    Par exemple, vous ne pouvez pas mettre un modèle Pydantic dans une `JSONResponse` sans d'abord le convertir en un `dict` avec tous les types de données (comme `datetime`, `UUID`, etc.) convertis en types compatibles avec JSON.
    
    Pour ces cas, vous pouvez spécifier un appel à `jsonable_encoder` pour convertir vos données avant de les passer à une réponse :
    
    ```Python hl_lines="6-7  21-22"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top