Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for section (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    // SECTION 1. Implementation for `TF_RandomAccessFile`
    // ----------------------------------------------------------------------------
    namespace tf_random_access_file {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_random_access_file
    
    // SECTION 2. Implementation for `TF_WritableFile`
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    // This filesystem will support `file://` and empty (local) URI schemes.
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    // SECTION 1. Implementation for `TF_RandomAccessFile`
    // ----------------------------------------------------------------------------
    namespace tf_random_access_file {
    
    typedef struct PosixFile {
      const char* filename;
      int fd;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      }
    
      TF_Session* session = new TF_Session(bundle.session.release(), graph);
    
      graph->sessions[session] = "";
      session->last_num_graph_nodes = graph->graph.num_node_ids();
      return session;
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    void TF_CloseSession(TF_Session* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    
    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)
  4. CODE_OF_CONDUCT.md

    ...
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
        const TFE_ContextOptions* opts, TF_Status* status);
    TF_CAPI_EXPORT extern void TFE_DeleteContext(TFE_Context* ctx);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

    } TF_FilesystemOps;
    // LINT.ThenChange(:filesystem_ops_version)
    
    /// SECTION 3. ABI and API compatibility
    /// ----------------------------------------------------------------------------
    ///
    /// In this section we define constants and macros to record versioning
    /// information for each of the structures in section 2: ABI and API versions
    /// and the number of functions in each of the function tables (which is
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status);
    
    // Destroy a session object.
    //
    // Even if error information is recorded in *status, this call discards all
    // local resources associated with the session.  The session may not be used
    // during or after this call (and the session drops its reference to the
    // corresponding graph).
    TF_CAPI_EXPORT extern void TF_DeleteSession(TF_Session*, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  8. tensorflow/c/eager/c_api_test_util.h

                                     const tensorflow::string& variable_name);
    
    TFE_Context* CreateContext(const std::string& serialized_server_def,
                               bool isolate_session_state,
                               int64_t init_timeout_in_ms);
    
    tensorflow::ServerDef ReplaceTaskInServerDef(
        const tensorflow::ServerDef& server_def, int task_index);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/api_template_v1.__init__.py

    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    from tensorflow.python.platform import flags
    # The "app" module will be imported as part of the placeholder section above.
    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    # Add module aliases from Keras to TF.
    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)
  10. tensorflow/c/experimental/grappler/grappler.h

    //       populated by core. The plugin is responsible for setting
    //       `struct_size` as well, along with all other fields.
    //     * Refer to "TensorFlow Versioning Strategy" section at
    //       https://github.com/tensorflow/community/pull/257/files.
    //     * Note that the API is still under active development and doesn't have
    //       versioning guarantees yet.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top