Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for have (0.17 sec)

  1. tensorflow/c/eager/c_api_test.cc

        int num_retvals = 1;
        TFE_Execute(matmul, &retvals[0], &num_retvals, status.get());
        ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
        // The CPU handle should have been copied and have a mirror on the GPU
        ASSERT_TRUE(cpu_arg->HasLocalMirror(gpu_device));
    
        TFE_DeleteOp(matmul);
        TFE_DeleteTensorHandle(retvals[0]);
        TFE_DeleteTensorHandle(hgpu);
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(fetchValues[1]);
    }
    
    // REGISTER_OP for CApiAttributesTest test cases.
    // Registers two ops, each with a single attribute called 'v'.
    // The attribute in one op will have a type 'type', the other
    // will have list(type).
    #define ATTR_TEST_REGISTER_OP(type)                           \
      REGISTER_OP("CApiAttributesTestOp" #type)                   \
          .Attr("v: " #type)                                      \
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top