Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,664 for converts (0.33 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. 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)
  5. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

        }
    
        /**
         * Parses a sequence of XML elements and converts them to the appropriate array type.
         *
         * @param parser The XML parser
         * @return Converted array instance
         */
        private Object parseArray(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            // convert to a collection first then convert that into an array
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            logDeprecation();
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

      bool enable_soft_placement;
      bool set_original_tf_func_name = false;
    };
    
    // TODO(antiagainst): Directly manipulating files in library functions is not
    // a good idea. We should pass in a string/stream here.
    
    // Converts a TensorFlow GraphDef contained in `input` param into a MLIR module.
    // Creates MLIR entities into the given MLIR `context`.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    GraphdefToMlirTranslateFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top