Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,288 for converts (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h

    // Converts a shape from MLIR to a TensorFlow tensor shape proto.
    void ConvertToTensorShapeProto(llvm::ArrayRef<int64_t> shape,
                                   TensorShapeProto* output_shape);
    
    // Converts an MLIR type to a TensorFlow tensor shape.
    PartialTensorShape ConvertTypeToTensorShape(const mlir::Type& type);
    
    // Converts an MLIR shaped type to a TensorFlow shape attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/DefaultTypeConverterTest.groovy

        def "converts scalar types to String"() {
            expect:
            converter.convert('a' as Character, String.class, false) == "a"
            converter.convert(12 as Byte, String.class, false) == "12"
            converter.convert(123 as Long, String.class, false) == "123"
            converter.convert(123 as BigInteger, String.class, false) == "123"
            converter.convert(true, String.class, false) == "true"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 13.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/initialization/ParallelismConfigurationCommandLineConverterTest.groovy

        }
    
        def "converts max workers"() {
            given:
            def maxWorkerCount = 5
    
            when:
            def result = convert("--max-workers", "$maxWorkerCount")
    
            then:
            result.maxWorkerCount == maxWorkerCount
        }
    
        def "converts empty arguments set max workers to number of processors"() {
            when:
            def result = convert()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 07 06:09:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert.go

    	for i := 0; i < list.Len(); i++ {
    		addParam(values, tag, omitempty, list.Index(i))
    	}
    }
    
    // Convert takes an object and converts it to a url.Values object using JSON tags as
    // parameter names. Only top-level simple values, arrays, and slices are serialized.
    // Embedded structs, maps, etc. will not be serialized.
    func Convert(obj interface{}) (url.Values, error) {
    	result := url.Values{}
    	if obj == nil {
    		return result, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    }
    
    // Convert_kubeadm_DNS_To_v1beta3_DNS converts a private DNS to public DNS.
    func Convert_kubeadm_DNS_To_v1beta3_DNS(in *kubeadm.DNS, out *DNS, s conversion.Scope) error {
    	return autoConvert_kubeadm_DNS_To_v1beta3_DNS(in, out, s)
    }
    
    // convertToArgs takes a argument map and converts it to a slice of arguments.
    // Te resulting argument slice is sorted alpha-numerically.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BasicFileResolverTest.groovy

        def resolver = new BasicFileResolver(baseDir)
    
        def "converts relative path"() {
            expect:
            resolver.transform("some-file") == baseDir.file("some-file")
            resolver.transform("../other-file") == baseDir.file("../other-file")
            resolver.transform(".") == baseDir
        }
    
        def "converts absolute path"() {
            def target = tmpDir.file("some-file")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/initialization/LayoutCommandLineConverterTest.groovy

            expect:
            convert().currentDir == canonicalize(SystemProperties.instance.getCurrentDir())
            convert().projectDir == null
            convert().gradleUserHomeDir == canonicalize(BuildLayoutParameters.DEFAULT_GRADLE_USER_HOME)
        }
    
        def "converts"() {
            expect:
            convert("-p", "foo").projectDir.name == "foo"
            convert("-g", "bar").gradleUserHomeDir.name == "bar"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/errors/storage.go

    limitations under the License.
    */
    
    package storage
    
    import (
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/storage"
    )
    
    // InterpretListError converts a generic error on a retrieval
    // operation into the appropriate API error.
    func InterpretListError(err error, qualifiedResource schema.GroupResource) error {
    	switch {
    	case storage.IsNotFound(err):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:39:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/convert_type.h

    namespace tensorflow {
    
    using tsl::StatusOr;
    
    // Converts the TensorFlow DataType 'dtype' into an MLIR (scalar) type.
    Status ConvertDataType(DataType dtype, mlir::Builder builder, mlir::Type* type);
    
    // Converts a scalar MLIR type to a TensorFlow Datatype.
    Status ConvertScalarTypeToDataType(mlir::Type type, DataType* dtype);
    
    // Converts an MLIR type to TensorFlow DataType. If 'type' is a scalar type, it
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeLibrarySpec.java

        /**
         * Converts this library to a native library requirement that uses the shared library variant. This is the default.
         */
        NativeLibraryRequirement getShared();
    
        /**
         * Converts this library to a native library requirement that uses the static library variant.
         */
        NativeLibraryRequirement getStatic();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top