Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestMatrixTensorHandleWithInput (0.17 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

        TFE_TensorHandle* input_eager =
            TestMatrixTensorHandleWithInput(eager_ctx, vals1, dims, num_dims);
        func_args.push_back(TF_CreateAbstractTensorFromEagerTensor(input_eager, s));
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
        // 2nd Arg
        float vals2[] = {1.0f, 0.0f, 0.0f, 1.0f};
        input_eager =
            TestMatrixTensorHandleWithInput(eager_ctx, vals2, dims, num_dims);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test_util.h

    TFE_TensorHandle* TestMatrixTensorHandle(TFE_Context* ctx);
    
    // Return a tensor handle containing 2D matrix containing given data and
    // dimensions
    TFE_TensorHandle* TestMatrixTensorHandleWithInput(TFE_Context* ctx,
                                                      float data[], int64_t dims[],
                                                      int num_dims);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteTensor(t);
      TF_DeleteStatus(status);
      return th;
    }
    
    TFE_TensorHandle* TestMatrixTensorHandleWithInput(TFE_Context* ctx,
                                                      float data[], int64_t dims[],
                                                      int num_dims) {
      TF_Status* status = TF_NewStatus();
    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