globalGrad property

bool globalGrad
getter/setter pair

Global default for saying if allocated GPUTensors should hold gradient by default.

Implementation

static bool globalGrad=true;