Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for tf_library (0.14 sec)

  1. tensorflow/compiler/aot/BUILD

    # tfcompile.bzl correctly handles usage from outside of the package that it is
    # defined in.
    
    # A simple test of tf_library from a text protobuf, to enable benchmark_test.
    # This test uses an incompleted graph with a node that is not defined. The
    # compilation works because the undefined node is a feed node.
    tf_library(
        name = "test_graph_tfadd",
        testonly = 1,
        config = "test_graph_tfadd.config.pbtxt",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 16:13:05 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/BUILD

                # expand the "required by all tf_library targets" list in tfcompile.bzl.
                include_standard_runtime_deps = False,
                mlir_components = mlir_component,
                tags = [
                    "manual",
                    "no_mac",  # TODO(b/228273415)
                ],
            ),
            tf_library(
                name = "test_graph_tfadd_with_ckpt" + suffix,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/test.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains a test and benchmark for the function generated by
    // tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be rewritten to
    // real values before this file can be compiled.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/tfcompile.bzl

    """Build macro that compiles a TensorFlow graph into a cc_library.
    
    To use from your BUILD file, add the following line to load the macro:
    
    load("//tensorflow/compiler/aot:tfcompile.bzl", "tf_library")
    
    Then call the macro like this:
    
    tf_library(
        name = "test_graph_tfmatmul",
        config = "test_graph_tfmatmul.config.pbtxt",
        cpp_class = "MatMulComp",
        graph = ":test_graph_tfmatmul.pb",
    )
    """
    
    load(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/benchmark_main.template

    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains the main function and logic for benchmarking code
    // generated by tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be
    // rewritten to real values before this file can be compiled.
    //
    //    TFCOMPILE_HEADER    : Path to the header file generated by tfcompile.
    //    TFCOMPILE_CPP_CLASS : Name of the C++ class generated by tfcompile.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/test_google.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains a test and benchmark for the function generated by
    // tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be rewritten to
    // real values before this file can be compiled.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental_test.cc

      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "c", "experimental", "stream_executor", "test",
              "test_pluggable_device.so"));
      TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status);
      TF_Code code = TF_GetCode(status);
      string status_msg(TF_Message(status));
      TF_DeleteStatus(status);
      ASSERT_EQ(TF_OK, code) << status_msg;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

    // for the first time.
    TF_Library* TF_LoadPluggableDeviceLibrary(const char* library_filename,
                                              TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
          "PluggableDevice plugin functionality is not supported on mobile");
      return nullptr;
    #else
      TF_Library* lib_handle = new TF_Library;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/tfcompile_main.cc

      flags.out_metadata_object = "out_helper.o";
      flags.out_header = "out.h";
      flags.entry_point = "entry";
      flags.debug_info_path_begin_marker = "";
    
      // Note that tfcompile.bzl's tf_library macro sets fast math flags as that is
      // generally the preferred case.
      std::vector<tensorflow::Flag> flag_list;
      AppendMainFlags(&flag_list, &flags);
      xla::AppendDebugOptionsFlags(&flag_list);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.h

    //
    // On failure, returns nullptr and places an error status in status.
    TF_CAPI_EXPORT extern TF_Library* TF_LoadPluggableDeviceLibrary(
        const char* library_filename, TF_Status* status);
    
    // Frees the memory associated with the library handle.
    // Does NOT unload the library.
    TF_CAPI_EXPORT extern void TF_DeletePluggableDeviceLibraryHandle(
        TF_Library* lib_handle);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top