Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 977 for converts (1.7 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

                                      quantizedElementType, converter);
        outConvertedType = converted.getType();
        return converted;
      }
      // Nothing else matched: try to convert a primitive.
      return convertPrimitiveValueAttr(realValue, quantizedElementType, converter,
                                       outConvertedType);
    }
    
    /// Convert an attribute from a type based on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

        }
    
        def "converts to OutgoingVariant when nothing defined"() {
            expect:
            def variants = getOutgoingVariants(publications)
            variants.size() == 1
    
            def child = variants.first()
            child.displayName == displayName
            child.attributes == ImmutableAttributes.EMPTY
            child.artifacts == allArtifacts
        }
    
        def "converts to OutgoingVariant when artifacts declared"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

      module will be written (default: stdout).
    
    
    ### Examples
    
    * To convert [microsoft/resnet-50](https://huggingface.co/microsoft/resnet-50)
    model to StableHLO with static input shape `4x3x224x224` for input argument with
    type `tensor<?x3x224x224xf32>`.
    
    ```bash
    tf-to-stablehlo-translate <saved-model-path> --input-arg-shapes=4,3,224,224
    ```
    
    * To convert
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top