Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 3,288 for converts (2.29 sec)

  1. src/crypto/elliptic/elliptic.go

    		// If the scalar is out of range, sample another random number.
    		if new(big.Int).SetBytes(priv).Cmp(N) >= 0 {
    			continue
    		}
    
    		x, y = curve.ScalarBaseMult(priv)
    	}
    	return
    }
    
    // Marshal converts a point on the curve into the uncompressed form specified in
    // SEC 1, Version 2.0, Section 2.3.3. If the point is not on the curve (or is
    // the conventional point at infinity), the behavior is undefined.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/ClosureToSpecNotationConverterTest.groovy

    import org.gradle.api.specs.Spec
    import spock.lang.Specification
    
    class ClosureToSpecNotationConverterTest extends Specification {
        private ClosureToSpecNotationConverter converter = new ClosureToSpecNotationConverter(String)
    
        def "converts closures"() {
            given:
            def spec = parse({ it == 'foo' })
    
            expect:
            spec.isSatisfiedBy("foo")
            !spec.isSatisfiedBy("FOO")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 18 06:12:27 UTC 2014
    - 1.2K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

    }
    
    def UniformQuantizedStableHloToTflPass
        : Pass<"uniform-quantized-stablehlo-to-tfl", "mlir::func::FuncOp"> {
      let summary = "Converts StableHLO ops using uniform quantized types to equivalent TFL ops.";
      let constructor = "mlir::odml::CreateUniformQuantizedStableHloToTflPass()";
      let description = [{
        Converts StableHLO ops that accept or return uniform quantized types to
        equivalent ops in the TFLite dialect.
      }];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/EclipseJavaVersionMapper.java

    /**
     * Utility class for saving Java versions in Eclipse descriptors.
     */
    public class EclipseJavaVersionMapper {
    
        private EclipseJavaVersionMapper() {
        }
    
        /**
         * Converts the target Java version to its Eclipse-specific representation.
         *
         * @param version the target Java version
         * @return the Eclipse-specific representation of the version
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/joinconfiguration.go

    	}
    	if err == nil {
    		prepareStaticVariables(config)
    	}
    	return config, err
    }
    
    // LoadJoinConfigurationFromFile loads versioned JoinConfiguration from file, converts it to internal, defaults and validates it
    func LoadJoinConfigurationFromFile(cfgPath string, opts LoadOrDefaultConfigurationOptions) (*kubeadmapi.JoinConfiguration, error) {
    	klog.V(1).Infof("loading configuration from %q", cfgPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.h

    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    
    namespace mlir {
    namespace odml {
    // Converts mhlo.dot_general to tfl.BatchMatMul. Reshape and Transpose ops will
    // be inserted to convert to well-formed matrix multiply; i.e., mhlo.dot_general
    // -> tfl.batch_matmul(mhlo.transpose(mhlo.reshape(operand)), ...).
    // Note:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 19:00:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.h

    // module in place to the Tensorflow Executor Dialect. Returns an OK Status if
    // success, otherwise failure with an error message.
    // The Tensorflow Executor Dialect is required to export an MLIR module to a
    // Tensorflow GraphDef. This API will add control dependencies and verify that
    // the conversion was successful.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 03 23:19:33 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top