Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for tf (0.14 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

    }
    
    void TF_DeleteAbstractOp(TF_AbstractOp* op) { unwrap(op)->Release(); }
    
    void TF_DeleteAbstractTensor(TF_AbstractTensor* t) { unwrap(t)->Unref(); }
    
    TF_OutputList* TF_NewOutputList() { return wrap(new OutputList); }
    void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); }
    void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs,
                                    TF_Status* s) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/c_test.c

      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
        fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status));
        return 1;
      }
      fprintf(stderr, "wrote %s\n", full_path);
      free(full_path);
      TF_CloseWritableFile(h, status);
      if (TF_GetCode(status) != TF_OK) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

                             status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      TensorHandlePtr value_one(FloatTensorHandle(3., status.get()));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TensorHandlePtr value_two(FloatTensorHandle(-2., status.get()));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_debug_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      ASSERT_EQ(0, TFE_TensorDebugInfoOnDeviceNumDims(debug_info));
    
      TFE_DeleteTensorDebugInfo(debug_info);
      TFE_DeleteTensorHandle(h);
      TFE_DeleteContext(ctx);
      TF_DeleteStatus(status);
    }
    
    TEST(CApiDebug, 2DCPU) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 06 22:10:09 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    namespace tf_random_access_file {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_random_access_file
    
    // SECTION 2. Implementation for `TF_WritableFile`
    // ----------------------------------------------------------------------------
    namespace tf_writable_file {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_writable_file
    
    // SECTION 3. Implementation for `TF_ReadOnlyMemoryRegion`
    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)
  6. tensorflow/api_template.__init__.py

    _API_MODULE = _sys.modules[__name__].bitwise
    _tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__))
    _current_module = _sys.modules[__name__]
    
    if not hasattr(_current_module, "__path__"):
      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
    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)
  7. tensorflow/c/eager/dlpack_test.cc

      TFE_CallDLManagedTensorDeleter(dlm_out);
      TFE_DeleteTensorHandle(handle);
    }
    
    TEST(DLPack, HandleFromDLPackStrides) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TestHandleFromDLPack(status, ctx, {}, {});
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. tensorflow/c/env.h

    #include "tensorflow/c/tf_file_statistics.h"
    #include "tensorflow/c/tf_status.h"
    
    // --------------------------------------------------------------------------
    // C API for tensorflow::Env.
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct TF_WritableFileHandle TF_WritableFileHandle;
    typedef struct TF_StringStream TF_StringStream;
    typedef struct TF_Thread TF_Thread;
    
    typedef struct TF_ThreadOptions {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                TF_Status* status);
    int64_t Tell(const TF_WritableFile* file, TF_Status* status);
    void Flush(const TF_WritableFile* file, TF_Status* status);
    void Sync(const TF_WritableFile* file, TF_Status* status);
    void Close(const TF_WritableFile* file, TF_Status* status);
    }  // namespace tf_writable_file
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_internal.h

      TF_Graph* graph;
      std::set<tensorflow::string> colocation_constraints;
    };
    
    struct TF_Operation {
      tensorflow::Node node;
    
     private:
      ~TF_Operation() = default;
    };
    
    struct TF_Session {
      TF_Session(tensorflow::Session* s, TF_Graph* g);
    
      tensorflow::Session* session;
      TF_Graph* const graph;
    
      tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top