class_docstr: Ensures Sonnet optimizers have equivalent behavior to TensorFlow.
code: def _make_snt(self, learning_rate, momentum, use_nesterov):
      optimizer = momentum_lib.Momentum(
          learning_rate=learning_rate,
          momentum=momentum,
          use_nesterov=use_nesterov,
      )
      return optimizer.apply
  
imports: from sonnet.src import test_utils
  from sonnet.src.optimizers import momentum
  from sonnet.src.optimizers import optimizer_tests
  import tensorflow
label_desc: Use image node_id 2 for calling the ComparisonTest obj's underlying member method code with example usage: obj._make_snt(learning_rate, momentum, use_nesterov) and returns: optimizer