Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Chen (0.3 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

    class DeviceThread;
    
    // Forwards operations to `devices`, maintaining ParallelTensor with components
    // placed on each underlying device.
    class ParallelDevice {
     public:
      // Eager async execution is only supported when remote eager is not in use
      // (b/157523095).
      explicit ParallelDevice(const std::vector<std::string>& devices,
                              bool is_async = false, int in_flight_nodes_limit = 0);
    
      ~ParallelDevice();
    
    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)
  2. tensorflow/c/c_api.h

      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
      //     valued attribute.
      // (2) If type == TF_ATTR_STRING and is_list == 1
      //     then total_size is the cumulative byte size
      //     of all the strings in the list.
      // (3) If type == TF_ATTR_SHAPE and is_list == 0
      //     then total_size is the number of dimensions
      //     of the shape valued attribute, or -1
    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)
  3. tensorflow/c/eager/c_api_experimental_reader.h

    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    // The test code can then read and test the value of that counter:
    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    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)
  4. tensorflow/c/eager/c_api.h

    // A tensorflow.ServerDef specifies remote workers (in addition to the current
    // workers name). Operations created in this context can then be executed on
    // any of these remote workers by setting an appropriate device.
    //
    // If the following is set, all servers identified by the
    // ServerDef must be up when the context is created.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDef(TFE_Context* ctx,
    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)
  5. tensorflow/c/eager/immediate_execution_distributed_manager.h

    class WorkerCacheInterface;
    
    class ImmediateExecutionDistributedManager {
     public:
      virtual ~ImmediateExecutionDistributedManager() {}
    
      // Set up distributed execution environment on local and remote tasks.
      // 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
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/tape.h

    // gradients available initially).
    //
    // Then we repeatedly pop an entry from the stack, run its backprop, and update
    // the gradients of its inputs. Once we have computed all gradients for a single
    // input we can mark this input as done, and this can trigger adding an entry to
    // the stack if all outputs of that entry are now done.
    //
    // When the stack is empty we have gradients for all tensors we're interested
    // in.
    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)
  7. tensorflow/c/c_api_experimental.h

    //
    // The API here is subject to changes in the future.
    // --------------------------------------------------------------------------
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // When `enable` is true, set
    // tensorflow.ConfigProto.OptimizerOptions.global_jit_level to ON_1, and also
    // set XLA flag values to prepare for XLA compilation. Otherwise set
    // global_jit_level to OFF.
    //
    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/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)
  9. tensorflow/c/eager/c_api_experimental.h

    // APIs for generically dealing with op attributes (e.g. when forwarding them
    // through custom device implementations).
    //
    // TODO(allenl): Currently these are black boxes, but we should have some way to
    // inspect values. This would let people e.g. copy over most attributes and then
    // modify some based on their values.
    
    // A reference to an op's name -> attribute mapping
    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)
  10. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // Returns size of specified dimension
      //
      // -1 indicates an unknown axis length; this is unreachable for most standard
      // ImmediateExecutionTensorHandles, but comes up for example when computing
      // the shape of a parallel tensor with component shapes differing across
      // devices.
      virtual Status Dim(int dim_index, int64_t* dim) const = 0;
    
      // Returns the device which created the handle.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top