Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for stats (0.15 sec)

  1. tensorflow/c/env.cc

      ::tensorflow::Set_TF_Status_from_Status(status, s);
      if (s.ok()) {
        stats->length = cc_stats.length;
        stats->mtime_nsec = cc_stats.mtime_nsec;
        stats->is_directory = cc_stats.is_directory;
      }
    }
    
    void TF_NewWritableFile(const char* filename, TF_WritableFileHandle** handle,
                            TF_Status* status) {
      std::unique_ptr<::tensorflow::WritableFile> f;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/env_test.cc

        ASSERT_EQ(childpath, nullptr);
        TF_StringStreamDone(children);
    
        TF_FileStatistics stats;
        TF_FileStat(filepath.c_str(), &stats, s);
        ASSERT_EQ(stats.length, strlen(data));
        ASSERT_FALSE(stats.is_directory);
        ASSERT_GT(stats.mtime_nsec, 0);
    
        // Trying to delete a non-empty directory should fail.
        TF_DeleteDir(dirpath.c_str(), s);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                 plugin_status.get());
    
      if (TF_GetCode(plugin_status.get()) == TF_OK) {
        stat->length = stats.length;
        stat->mtime_nsec = stats.mtime_nsec;
        stat->is_directory = stats.is_directory;
      }
    
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::IsDirectory(const std::string& name,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  4. tensorflow/c/env.h

                                                    TF_Status* status);
    
    // Obtains statistics for the given path. If status is TF_OK, *stats is
    // updated, otherwise it is not touched.
    TF_CAPI_EXPORT extern void TF_FileStat(const char* filename,
                                           TF_FileStatistics* stats,
                                           TF_Status* status);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

                    TF_Status* status);
    void Stat(const TF_Filesystem* filesystem, const char* path,
              TF_FileStatistics* stats, TF_Status* status);
    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status);
    void CopyFile(const TF_Filesystem* filesystem, const char* src, const char* dst,
                  TF_Status* status);
    void RenameFile(const TF_Filesystem* filesystem, const char* src,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
      // on remote tasks will be considered stale and garbage collected after
      // `keep_alive_secs` of inactivity.
      virtual Status SetOrUpdateServerDef(const ServerDef& server_def,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.h

    // here.
    void TF_SetTracingImplementation(const char* name, TF_Status*);
    
    // Creates a new TensorFlow function. A Function is an execution context, and as
    // such it can trace operations through TF_ExecuteOperation. After completing
    // tracing, a function can be obtained by TF_FinalizeFunction.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* status);
    
    // Creates a context for eager execution of operations.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.h

                                                       TF_Status* status);
    
    // Returns the status for the tensor handle. In TFRT, a tensor handle can carry
    // error info if error happens. If so, the status will be set with the error
    // info. If not, status will be set as OK.
    TF_CAPI_EXPORT extern void TFE_TensorHandleGetStatus(TFE_TensorHandle* h,
                                                         TF_Status* status);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    - Provide links to your TensorFlow model and (optionally) TensorFlow Lite Model.
    ```
    
    ### 3. Failure after conversion
    If the conversion is successful, but the generated model is wrong, then state what is wrong:
    
    - Model produces wrong results and/or has lesser accuracy.
    - Model produces correct results, but it is slower than expected.
    
    ### 4. (optional) RNN conversion support
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.cc

                                                  TF_Status* status) {
      Session* session;
      status->status = NewSession(opt->options, &session);
      if (status->status.ok()) {
        return new TF_DeprecatedSession({session});
      } else {
        DCHECK_EQ(nullptr, session);
        return nullptr;
      }
    }
    
    void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    
    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)
Back to top