Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for shouldn (0.23 sec)

  1. tensorflow/c/c_api.h

    // Sets `output` based on `proto`, which should be a serialized
    // CppShapeInferenceResult::HandleData proto. `output` should be a resource
    // or variant tensor.
    // NOTE(skyewm): `proto` is passed a void*/size_t pair instead of a std::string
    // because I couldn't get SWIG to work otherwise.
    TF_CAPI_EXPORT extern void TF_SetHandleShapeAndType(TF_Graph* graph,
    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)
  2. tensorflow/c/env.h

      size_t stack_size;
    
      // Guard area size to use near thread stacks to use (in bytes), zero implies
      // that the system default will be used.
      size_t guard_size;
    
      // The NUMA node to use, -1 implies that there should be no NUMA affinity for
      // this thread.
      int numa_node;
    } TF_ThreadOptions;
    
    // Creates the specified directory. Typical status code are:
    //  * TF_OK - successfully created the directory
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // used to cancel all other operations if any fails.
      //
      // Set step_id to configure the step id used for rendezvous creation. step id
      // of value -1 is reserved for global rendezvous and should not be set here.
      void StartExecute(TFE_Context* context,
                        const std::vector<ParallelTensor*>& inputs,
                        const char* operation_name, const TFE_OpAttrs* attributes,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

      void Watch(int64_t tensor_id, Gradient* tangent);
    
      // Removes the gradient associated with tensor_id. Should be called when the
      // Tensor associated with `tensor_id` is deleted.
      void DeleteGradient(int64_t tensor_id);
    
      // Runs forward autodiff. Should be called whenever a new operation is
      // available and the accumulator is active.
      //
    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)
  5. tensorflow/c/eager/c_api.h

    // '*num_retvals' should be set to the size of this array. It is an error if
    // the size of 'retvals' is less than the number of outputs. This call sets
    // *num_retvals to the number of outputs.
    //
    // If async execution is enabled, the call may simply enqueue the execution
    // and return "non-ready" handles in `retvals`. Note that any handles contained
    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/eager/abstract_operation.h

      // logic to refer to the specific device chosen.
      //
      // Example: If one calls `op->SetDeviceName("/device:GPU")`, the value
      // returned by DeviceName should be "/device:GPU:*" until a particular GPU is
      // chosen for the operation by the device placement logic in the
      // executor. After that, the value returned by DeviceName will be a full
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.h

    // The returned string is heap-allocated, and caller should call free() on it.
    TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph,
                                                          size_t* len);
    
    // Returns the function content in a human-readable format, with length set in
    // `len`. The format is subject to change in the future.
    // The returned string is heap-allocated, and caller should call free() on it.
    //
    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)
  8. tensorflow/c/experimental/grappler/grappler.h

    // should allow registering a plugin graph optimizer with TensorFlow.
    //
    // Conventions:
    //   * Struct prefix indicates whether struct fields should be filled by the
    //     plugin or core implementation:
    //     * Struct that should be filled by the plugin: `TP_OptimizerConfigs`,
    //       `TP_Optimizer`, `TP_OptimizerRegistrationParams`
    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_
    
    #include <fstream>
    #include <string>
    
    class TempFile : public std::fstream {
     public:
      // We should specify openmode each time we call TempFile.
      TempFile(const std::string& temp_file_name, std::ios::openmode mode);
      TempFile(TempFile&& rhs);
      ~TempFile() override;
      const std::string getName() const;
      bool truncate();
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental.h

        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0;
    // Returns a new Counter metric object. The caller should manage lifetime of
    // the object. Using duplicate metric name will crash the program with fatal
    // error.
    TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top