- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,733 for converts (0.33 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/internal/itoa/itoa.go
// license that can be found in the LICENSE file. // Simple conversions to avoid depending on strconv. package itoa // Itoa converts val to a decimal string. func Itoa(val int) string { if val < 0 { return "-" + Uitoa(uint(-val)) } return Uitoa(uint(val)) } // Uitoa converts val to a decimal string. func Uitoa(val uint) string { if val == 0 { // avoid string allocation return "0" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 02:53:50 UTC 2023 - 1.1K bytes - Viewed (0) -
pkg/config/schema/codegen/templates/gvk.go.tmpl
return schema.GroupVersionResource{}, false } // 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: Mon Dec 04 03:54:51 UTC 2023 - 2K bytes - Viewed (0)