class_docstr: Transportation of :func:`torch.Tensor.as_strided`.
  While :func:`torch.Tensor.as_strided` does not support nagative strides,
  this implementation does support it.
class_docstr_tok: ["Transportation","of",":","func",":","`","torch.Tensor.as_strided","`",".","While",":","func",":","`","torch.Tensor.as_strided","`","does","not","support","nagative","strides",",","this","implementation","does","support","it","."]
code: def forward(self, inputs):
      assert len(inputs) > 0
  
      x = inputs[0]
  
      self.input_geometry = TensorGeometry(x)
  
      if self.storage_offset is None:
          self.storage_offset = self.input_geometry.storage_offset
  
      return (
          _stride_array(
              x, self.shape, self.strides, self.storage_offset
          ),
      )
  
imports: import numpy
  import six
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling the AsStrided obj's underlying member method code with example usage: obj.forward(inputs) and returns: _stride_array