Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for TF (0.11 sec)

  1. tensorflow/c/eager/c_api_experimental_reader.h

    // counter can have been created with any number of labels.
    TF_CAPI_EXPORT extern TFE_MonitoringCounterReader*
    TFE_MonitoringNewCounterReader(const char* name);
    
    // Reads the value of a counter that was created with 0 labels.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter0(
        TFE_MonitoringCounterReader*);
    
    // Reads the value of specific cell of a counter that was created with 1 label.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter1(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetUnknownShape(
        TF_ShapeAndTypeList* shape_list, int index);
    TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetDtype(
        TF_ShapeAndTypeList* shape_list, int index, TF_DataType dtype);
    TF_CAPI_EXPORT extern void TF_DeleteShapeAndTypeList(
        TF_ShapeAndTypeList* shape_list);
    TF_CAPI_EXPORT extern void TF_DeleteShapeAndTypeListArray(
        TF_ShapeAndTypeList** shape_list_array, int num_items);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    int CopyFileContents(int dst_fd, int src_fd, off_t size);
    
    }  // namespace tf_posix_filesystem
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack.h

    // void* for further PyCapsule construction.
    TF_CAPI_EXPORT extern void* TFE_HandleToDLPack(TFE_TensorHandle* h,
                                                   TF_Status* status);
    
    // Converts DLPack (DLManagedTensor*) to eager tensor handle.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_HandleFromDLPack(void* dlm,
                                                                 TF_Status* status,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Mar 28 08:41:24 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h

    // the API files at the time of creating the pip package. Hence, we need to
    // expose this function so that this filesystem can be statically registered
    // when needed.
    void TF_InitPlugin(TF_FilesystemPluginInfo* info);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/eager/c_api.h

    //
    // 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);
    TF_CAPI_EXPORT extern TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx,
                                                                TF_Status* status);
    
    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)
  8. tensorflow/c/eager/tape.h

        const std::vector<Gradient*>& in_grads, absl::Span<Gradient*> out_grads) {
      /* This function is approximately equivalent to this Python code:
    
      forwardprop_aids = tf.ones_like(output_tensors)
      with tf.GradientTape() as g:
        g.watch(forwardprop_aids)
        grad = backward_function(forwardprop_aids)
      forward_grads = g.gradient(grad, forwardprop_aids, output_gradients=in_grads)
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/filesystem/modular_filesystem_registration.h

    // Implementation for filesystem registration
    //
    // Don't call this directly. Instead call `RegisterFilesystemPlugin`.
    // Exposed only for static registration of local filesystems.
    Status RegisterFilesystemPluginImpl(const TF_FilesystemPluginInfo* info);
    
    }  // namespace filesystem_registration
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_macros_internal.h

    // `struct_size` is used for struct member compatibility check between core TF
    // and plug-ins with the same C API minor version. More info here:
    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top