Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for tf_library (0.13 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.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)
  8. 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)
  9. tensorflow/compiler/aot/compile.cc

        TF_ASSIGN_OR_RETURN(std::unique_ptr<xla::HloSnapshot> module,
                            computation.Snapshot());
        // Serialize the HloSnapshot deterministically so that all the outputs of a
        // tf_library genrule are deterministic.
        const size_t size = module->ByteSizeLong();
        auto serialized = std::make_unique<char[]>(size);
        TF_RET_CHECK(
            SerializeToBufferDeterministic(*module, serialized.get(), size));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // --------------------------------------------------------------------------
    // Load plugins containing custom ops and kernels
    
    // TF_Library holds information about dynamically loaded TensorFlow plugins.
    typedef struct TF_Library TF_Library;
    
    // Load the library specified by library_filename and register the ops and
    // kernels present in that library.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top