Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for load_library (0.18 sec)

  1. tensorflow/api_template.__init__.py

      _kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
      if _os.path.exists(_kernel_dir):
        _ll.load_library(_kernel_dir)
    
      # Load third party dynamic kernels.
      for _s in _site_packages_dirs:
        _plugin_dir = _os.path.join(_s, "tensorflow-plugins")
        if _os.path.exists(_plugin_dir):
          _ll.load_library(_plugin_dir)
          # Load Pluggable Device Library
          _ll.load_pluggable_device_library(_plugin_dir)
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  2. tensorflow/api_template_v1.__init__.py

      _kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
      if _os.path.exists(_kernel_dir):
        _ll.load_library(_kernel_dir)
    
      # Load third party dynamic kernels.
      for _s in _site_packages_dirs:
        _plugin_dir = _os.path.join(_s, "tensorflow-plugins")
        if _os.path.exists(_plugin_dir):
          _ll.load_library(_plugin_dir)
          # Load Pluggable Device Library
          _ll.load_pluggable_device_library(_plugin_dir)
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    # API) is responsible for registering ops with libtensorflow_framework.so. In
    # addition to this core set of ops, user libraries which are loaded (via
    # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this
    # shared object directly.
    #
    # For example, from Python tf.load_op_library loads a custom op library (via
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  4. tensorflow/c/c_api.cc

        target_oper_names[i] = c_target_oper_names[i];
      }
      TF_Run_Helper(s->session, handle, nullptr, input_pairs, output_names,
                    c_outputs, target_oper_names, nullptr, status);
    }
    
    TF_Library* TF_LoadLibrary(const char* library_filename, TF_Status* status) {
      TF_Library* lib_handle = new TF_Library;
      status->status = tensorflow::LoadDynamicLibrary(
          library_filename, &lib_handle->lib_handle, &lib_handle->op_list.data,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

        // Load the library.
        TF_Status* status = TF_NewStatus();
        string lib_path = tensorflow::GetDataDependencyFilepath(
            tensorflow::io::JoinPath("tensorflow", "c", "test_op1.so"));
        TF_Library* lib = TF_LoadLibrary(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;
    
        // Test op list.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top