Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Vendor (0.27 sec)

  1. tensorflow/c/eager/c_api_test_util.h

    // Return an allreduce op adding up input tensor `in` from `group_size` workers.
    TFE_Op* AllReduceOp(TFE_Context* ctx, TFE_TensorHandle* in, int group_size);
    
    // Return a SendOp op `op_name` with send input tensor `in` and attributes
    // `send_device`, `recv_device`, and `send_device_incarnation` set.
    TFE_Op* SendOp(TFE_Context* ctx, TFE_TensorHandle* in,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                                                           TF_Status* status) const;
    
      // Construct a parallel tensor consisting of the scalar values from `values`.
      template <typename DataType>
      std::unique_ptr<ParallelTensor> ScalarsFromSequence(
          absl::Span<const DataType> values, TFE_Context* context,
          TF_Status* status) const;
    
    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)
  3. tensorflow/c/c_api.h

                                                         TF_Tensor** value,
                                                         TF_Status* status);
    
    // Fills in `values` with the TF_Tensor values of the attribute `attr_name` of
    // `oper`. `values` must point to an array of TF_Tensor* of length at least
    // `max_values` (ideally set to TF_AttrMetadata.list_size from
    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)
  4. tensorflow/c/eager/parallel_device/parallel_device.h

    // two component devices, running `x = TPUReplicatedInput(inputs=[a, b])` on the
    // parallel device creates a parallel tensor `x` with `a` on the first of
    // `underlying_devices` and `b` on the second. Running `a_unpacked, b_unpacked =
    // TPUReplicatedOutput(input=x, num_replicas=2)` un-packs the parallel tensor
    // into its components.
    //
    // The filled `device` struct and the allocated `device_info` struct may be
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // AssignSub, ...).
      void GeneralAssignment(const char* op_name, TFE_Context* context,
                             TFE_TensorHandle* value, TF_Status* status);
    
      // The a handle for the resource-dtype tensor pointing to the variable's
      // buffer.
      TFE_TensorHandle* handle_;
      // The dtype of the variable's buffer (input dtype for assignments, output
      // dtype of read operations).
      TF_DataType type_;
    };
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

                                                       size_t proto_len,
                                                       TF_Status* status);
    
    // A handle to a tensor on a device.
    //
    // Like a TF_Tensor, a TFE_TensorHandle refers to a tensor with a value, shape,
    // type etc. Unlike a TF_Tensor, a TFE_TensorHandle may refer to such tensors
    // placed in the memory of different devices or remote address spaces.
    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)
  7. tensorflow/c/eager/abstract_operation.h

    #define TENSORFLOW_C_EAGER_ABSTRACT_OPERATION_H_
    
    #include <memory>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Abstract interface to an operation.
    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)
  8. tensorflow/c/c_test.c

      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void compute(void* kernel, TF_OpKernelContext* ctx) {
      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
    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)
  9. tensorflow/c/eager/tape.h

    void GradientTape<Gradient, BackwardFunction, TapeTensor>::DeleteTrace(
        int64_t tensor_id) {
      auto it = tensor_usage_.find(tensor_id);
      if (it == tensor_usage_.end()) {
        return;
      }
      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
    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)
  10. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Tensor* TF_DequeueNamedTensor(TF_Session* session,
                                                           int tensor_id,
                                                           TF_Status* status);
    
    // On success, enqueues `tensor` into a TF-managed FifoQueue given by
    // `tensor_id`, associated with `session`. There must be a graph node named
    // "fifo_queue_enqueue_<tensor_id>", to be executed by this API call. It reads
    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)
Back to top