Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Hong (0.21 sec)

  1. tensorflow/c/c_api.cc

                                     export_dir, tag_set, &bundle);
      if (!status->status.ok()) return nullptr;
    
      // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session
      // extends using GraphDefs. The Graph instance is different, but equivalent
      // to the one used to create the session.
      //
      // TODO(jhseu): When Session is modified to take Graphs instead of
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      // POSIX's `ftell` returns `long`, do a manual cast.
      int64_t position = int64_t{ftell(posix_file->handle)};
      if (position < 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
        TF_SetStatus(status, TF_OK, "");
    
    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/eager/immediate_execution_tensor_handle.cc

      }
      std::string value_string;
      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
      if (value_string.length() > 100) {
        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top