Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for todo (0.2 sec)

  1. tensorflow/c/c_api_internal.h

      //
      // Sessions are added to this map in TF_NewSession, and removed in
      // TF_DeleteSession.
      // TF_Graph may only / must be deleted when
      //   sessions.size() == 0 && delete_requested == true
      //
      // TODO(b/74949947): mutations currently trigger a warning instead of a bad
      // status, this should be reverted when possible.
      tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
          TF_GUARDED_BY(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)
  2. tensorflow/c/eager/c_api_unified_experimental.h

    // requires its type (e.g. "AddV2") to be set independently.
    TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* ctx);
    void TF_DeleteAbstractOp(TF_AbstractOp*);
    
    // TODO(srbs): Add APIs for specifying attrs etc.
    // `op_type` must outlive `op`.
    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s);
    // `op_name` must outlive `op`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

    // Disables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
    
    // TODO(fishx): Move these monitoring APIs into a separate file.
    // -----------------------------------------------------------------------------
    // Monitoring Counter APIs.
    // These APIs de-templated monitoring Counter for swig.
    
    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)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // acquires each thread in order (and so only one Execute will schedule
      // blocking collective operations at a time), and avoids some dynamic
      // allocation/scheduling.
      //
      // TODO(allenl): Keep a map from outer thread to list of inner threads rather
      // than a single list of threads so aliased nested parallel devices don't
      // re-use a thread.
      std::vector<std::unique_ptr<DeviceThread>> device_threads_;
    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)
  5. tensorflow/c/eager/c_api_internal.h

    #include "tensorflow/c/eager/tfe_op_attrs_internal.h"  // IWYU pragma: export
    #include "tensorflow/c/eager/tfe_tensor_debug_info_internal.h"  // IWYU pragma: export
    
    // TODO(b/154564140): Move this to its own header. This requires splitting
    // c_api_experimental.h
    struct TFE_ContextOptions {
      TF_SessionOptions session_options;
      // true if async execution is enabled.
      bool async = false;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 18 19:26:34 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.h

    // global_jit_level to OFF.
    //
    // This and the next API are syntax sugar over TF_SetConfig(), and is used by
    // clients that cannot read/write the tensorflow.ConfigProto proto.
    // TODO: Migrate to TF_CreateConfig() below.
    TF_CAPI_EXPORT extern void TF_EnableXLACompilation(TF_SessionOptions* options,
                                                       unsigned char enable);
    
    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)
  7. tensorflow/c/c_api.h

                                            TF_Status* status);
    
    // Destroy an options object.
    TF_CAPI_EXPORT extern void TF_DeleteSessionOptions(TF_SessionOptions*);
    
    // TODO(jeff,sanjay):
    // - export functions to set Config fields
    
    // --------------------------------------------------------------------------
    // The new graph construction API, still under development.
    
    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)
  8. tensorflow/c/eager/tape.h

    struct OpTapeEntry {
      string op_type;
      std::vector<TapeTensor> output_tensor_info;
      std::vector<int64_t> input_tensor_id;
    
      // TODO(apassos) consider narrowing down this interface.
      BackwardFunction* backward_function;
    
      // Should be called before deleting the backward function. TODO(apassos) use
      // unique_ptrs to ensure this happens.
      std::function<void(BackwardFunction*)> backward_function_deleter;
    };
    
    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/grappler/grappler.h

    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
        const TF_GrapplerItem* item, char** values, size_t* lengths, int num_values,
    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)
  10. tensorflow/c/eager/gradients.h

    // of default zeros grads is handled by the `DefaultGradientFunction` registered
    // for each op.
    // TODO(srbs): We need to define `ZerosLike` here to keep the compiler happy.
    // Figure out a way to avoid this.
    // TODO(srbs): Should ZerosLike check-fail instead of returning nullptr?
    class TapeTensor {
     public:
      explicit TapeTensor(AbstractTensorHandle* handle);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top