Searched refs:cdevice (Results 1 – 2 of 2) sorted by relevance
333 cdevice := C.CString(args.Device)334 C.TF_SetDevice(cdesc, cdevice)335 C.free(unsafe.Pointer(cdevice))
139 const char* cdevice = env->GetStringUTFChars(device, nullptr); in Java_org_tensorflow_OperationBuilder_setDevice() local140 TF_SetDevice(d, cdevice); in Java_org_tensorflow_OperationBuilder_setDevice()141 env->ReleaseStringUTFChars(device, cdevice); in Java_org_tensorflow_OperationBuilder_setDevice()