Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAxisTensorHandle (0.15 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(a));
    
      return op;
    }
    
    TFE_TensorHandle* TestAxisTensorHandle(TFE_Context* ctx) {
      int64_t dims[] = {1};
      int data[] = {1};
      TF_Status* status = TF_NewStatus();
      TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_INT32, &dims[0],
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top