Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Input (0.84 sec)

  1. tensorflow/c/c_api.h

    // invalidate old TF_Operation* pointers.
    typedef struct TF_Operation TF_Operation;
    
    // Represents a specific input of an operation.
    typedef struct TF_Input {
      TF_Operation* oper;
      int index;  // The index of the input within oper.
    } TF_Input;
    
    // Represents a specific output of an operation.
    typedef struct TF_Output {
      TF_Operation* oper;
    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/eager/c_api_test_util.h

    // Return a shape op fetching the shape of `a`.
    TFE_Op* ShapeOp(TFE_Context* ctx, TFE_TensorHandle* a);
    
    // 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.
    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)
  3. tensorflow/c/eager/tape.h

        absl::Span<const int64_t> input_tensor_id,
        absl::Span<const tensorflow::DataType> input_dtypes,
        const std::function<BackwardFunction*()>& backward_function_getter,
        const std::function<void(BackwardFunction*)>& backward_function_deleter) {
      if (!ShouldRecord(input_tensor_id, input_dtypes)) {
        return;
      }
      std::vector<int64_t> ids;
      ids.reserve(input_tensor_id.size());
    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)
  4. tensorflow/c/c_test.c

    // 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) {
      TF_InitMain(argv[0], &argc, &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)
  5. tensorflow/c/eager/unified_api_testutil.h

          TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
      TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get()));
      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
          unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get()));
      return absl::OkStatus();
    }
    
    // Return a scalar tensor handle with given value.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/immediate_execution_context.h

    class CustomDevice;
    class CustomDeviceOpHandler;
    class Device;
    
    // LINT.IfChange
    // Note: Keep in sync with exported copy of enum in eager/c_api.h.
    enum ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top