Searched refs:maybe_resource (Results 1 – 1 of 1) sorted by relevance
112 Var** maybe_resource) { in GetTrainingVariableMutex() argument113 *maybe_resource = nullptr; in GetTrainingVariableMutex()115 if (LookupResource(ctx, HandleFromInput(ctx, input), maybe_resource).ok()) { in GetTrainingVariableMutex()117 EnsureSparseVariableAccess<Device, T>(ctx, *maybe_resource) in GetTrainingVariableMutex()120 return (*maybe_resource)->mu(); in GetTrainingVariableMutex()