Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,155 for converts (0.88 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go

    		converted := []runtime.RawExtension{}
    		errMsgs := []string{}
    		for _, obj := range review.Request.Objects {
    			convertedObj, err := converterFunc(review.Request.DesiredAPIVersion, obj)
    			if err != nil {
    				errMsgs = append(errMsgs, err.Error())
    			}
    
    			converted = append(converted, convertedObj)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 01:38:09 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Converter.java

     * </ul>
     *
     * <p>Using a converter:
     *
     * <ul>
     *   <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}.
     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Describables.java

    import org.apache.commons.lang.StringUtils;
    import org.gradle.api.Describable;
    
    public class Describables {
        private Describables() {
        }
    
        /**
         * Returns a describable that converts the provided value to a string each time the display name is queried. Can pass a {@link Describable} or {@link DisplayName}.
         */
        public static DisplayName of(Object displayName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/object.h

    /// Converts a C++ int64_t to an Integer handle.
    template <>
    inline Handle Convert(int64_t value) {
      return Integer(value);
    }
    /// Converts a C++ float to an Integer handle.
    template <>
    inline Handle Convert(float value) {
      return Float(value);
    }
    /// Converts a value with primitive type T to a Handle.
    template <class T>
    inline Handle Convert(T value) {
      return Handle(std::move(value));
    }
    
    /// @}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    def FloatOrDefaultCompare : Constraint<CPred<
      "!$0 || $0.getValue() == ::mlir::mhlo::ComparisonType::FLOAT">>;
    def SameTypeOrDefaultCompare : Constraint<CPred<
      "SameTypeOrDefaultCompare($0, $1)">>;
    
    // Converts a dag of HLOs representing banker rounding (round x.5 to nearest
    // even) to tf.round. This only supports float types because mhlo.floor only
    // supports float types. tf.round with integer input type will become an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. src/image/color/ycbcr.go

    	}
    	r, g, b, a := c.RGBA()
    
    	// Convert from alpha-premultiplied to non-alpha-premultiplied.
    	if a != 0 {
    		r = (r * 0xffff) / a
    		g = (g * 0xffff) / a
    		b = (b * 0xffff) / a
    	}
    
    	y, u, v := RGBToYCbCr(uint8(r>>8), uint8(g>>8), uint8(b>>8))
    	return NYCbCrA{YCbCr{Y: y, Cb: u, Cr: v}, uint8(a >> 8)}
    }
    
    // RGBToCMYK converts an RGB triple to a CMYK quadruple.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/initconfiguration.go

    	kubeadmscheme.Scheme.Default(versionedInitCfg)
    	if err := kubeadmscheme.Scheme.Convert(versionedInitCfg, internalcfg, nil); err != nil {
    		return nil, err
    	}
    
    	kubeadmscheme.Scheme.Default(versionedClusterCfg)
    	if err := kubeadmscheme.Scheme.Convert(versionedClusterCfg, &internalcfg.ClusterConfiguration, nil); err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // variables instead).
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateRemoveVariableInitializationByConstPass();
    
    // Creates a pass that converts Tensorflow Xla ops to non-Xla ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTfXlaOpToTfOpPass();
    
    // Creates a pass that converts TPU models for CPU by removing TPU related ops
    // such as TPUPartitionedCall, TPUReplicatedOp, etc. The TF quantizer does not
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. pkg/config/schema/gvk/resources.gen.go

    }
    
    // MustToGVR converts a GVK to a GVR, and panics if it cannot be converted
    // Warning: this is only safe for known types; do not call on arbitrary GVKs
    func MustToGVR(g config.GroupVersionKind) schema.GroupVersionResource {
    	r, ok := ToGVR(g)
    	if !ok {
    		panic("unknown kind: " + g.String())
    	}
    	return r
    }
    
    // FromGVR converts a GVR to a GVK.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top