Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,288 for converts (0.11 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h

    namespace tf2xla {
    namespace v2 {
    
    // Given an MLIR module, returns a GraphDef.
    absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef(
        mlir::ModuleOp module, const GraphExportConfig& configs);
    
    // Converts an MLIR module to TensorFlow graph and FunctionLibraryDefinition.
    // The "main" function of the module is stored in the graph and the rest of
    // functions are stored in the library. Control ret nodes are stored separately
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingNotationConverterTest.groovy

        def 'converts lock notation to a ModuleComponentIdentifier'() {
            given:
            def converter = new DependencyLockingNotationConverter()
            def lockEntry = 'org:foo:1.1'
    
            when:
            def converted = converter.convertFromLockNotation(lockEntry)
    
            then:
            converted instanceof ModuleComponentIdentifier
            converted.group == 'org'
            converted.module == 'foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h

    // Given an MLIR module, returns a GraphDef.
    absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef(
        mlir::ModuleOp module, const GraphExportConfig& configs);
    
    // Converts an MLIR module to TensorFlow graph and FunctionLibraryDefinition.
    // The "main" function of the module is stored in the graph and the rest of
    // functions are stored in the library. Control ret nodes are stored separately
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/syscall/timestruct.go

    //go:build unix || (js && wasm) || wasip1
    
    package syscall
    
    // TimespecToNsec returns the time stored in ts as nanoseconds.
    func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
    
    // NsecToTimespec converts a number of nanoseconds into a [Timespec].
    func NsecToTimespec(nsec int64) Timespec {
    	sec := nsec / 1e9
    	nsec = nsec % 1e9
    	if nsec < 0 {
    		nsec += 1e9
    		sec--
    	}
    	return setTimespec(sec, nsec)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 958 bytes
    - Viewed (0)
  5. tensorflow/cc/framework/cc_op_gen_util.h

        OpList& ops, bool include_internal,
        const std::vector<string>& api_def_dirs);
    
    // Converts:
    //   bazel-out/.../(bin|genfiles)/(external/YYY/)?XX
    // to: XX.
    string GetPath(StringPiece dot_h_fname);
    
    // Converts: some/path/to/file.xx
    // to: file
    // (note that suffix is removed)
    string GetFilename(StringPiece path);
    
    // Converts:
    //   cc/ops/gen_foo_ops.h
    // to:
    //   CC_OPS_GEN_FOO_OPS_H_
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy

            expect:
            parser.parseNotation(12) == "[12]"
            parser.parseNotation(true) == "True"
        }
    
        def "can add a converter that converts notations of a given type"() {
            def converter = Mock(NotationConverter)
    
            given:
            converter.convert(_, _) >> { Number n, NotationConvertResult result -> result.converted("[${n}]") }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/size_utils.h

    #ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_SIZE_UTILS_H_
    #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_SIZE_UTILS_H_
    
    #include <cstdint>
    
    namespace mlir {
    namespace TFL {
    
    // Converts a TF size (64-bit) to TFLite (32-bit) and properly converts TF's
    // value for dynamic size (`std::numeric_limits<int64_t>::min()`) to the
    // TFLite-specific value.
    int32_t ConvertToTfliteSize(int64_t size);
    
    }  // namespace TFL
    }  // namespace mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 23 16:15:59 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/file/RelativeFilePathResolver.java

    /**
     * Resolves a path object relative to some base directory.
     */
    public interface RelativeFilePathResolver {
        /**
         * Converts the given path to a relative path.
         */
        String resolveAsRelativePath(Object path);
    
        /**
         * Converts the given path to a path that is useful to display to a human, for example in logging or error reports.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h

    namespace tensorflow {
    
    using tsl::StatusOr;
    
    // Converts non func AttrValue proto into an MLIR attribute. Func attribute is
    // exclused in this function because the function might be renamed when the
    // function definition is imported.
    absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue(
        const AttrValue& value, mlir::Builder* builder);
    
    // Converts all kinds of AttrValue proto into an MLIR attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/dlpack.h

    // PyCapsule name for DLPack Tensor
    const char* const kDlTensorCapsuleName = "dltensor";
    
    // Converts eager tensor handle to DLPack (DLManagedTensor*), and return the
    // void* for further PyCapsule construction.
    TF_CAPI_EXPORT extern void* TFE_HandleToDLPack(TFE_TensorHandle* h,
                                                   TF_Status* status);
    
    // Converts DLPack (DLManagedTensor*) to eager tensor handle.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Mar 28 08:41:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
Back to top