class_docstr: ResNet model.
class_docstr_tok: ["ResNet","model","."]
docstr: Map a stride scalar to the stride array for tf.nn.conv2d.
docstr_tok: ["Map","a","stride","scalar","to","the","stride","array","for","tf.nn.conv2d","."]
code: def _stride_arr(self, stride):
      """Map a stride scalar to the stride array for tf.nn.conv2d."""
      return [1, stride, stride, 1]
  
imports: from collections import namedtuple
  import tensorflow
  import six
  from model import MLPnGPU
  from model import Conv2DnGPU
  from model import LinearnGPU
  from model import LayerNorm
label_desc: Use image node_id 4 for calling the ResNetTF obj's underlying member method code with example usage: obj._stride_arr(stride) and returns: list