class_docstr: 3D upscaling layer
  
  Performs 3D upscaling over the three trailing axes of a 5D input tensor.
  
  Parameters
  ----------
  incoming : a :class:`Layer` instance or tuple
      The layer feeding into this layer, or the expected input shape.
  
  scale_factor : integer or iterable
      The scale factor in each dimension. If an integer, it is promoted to
      a cubic scale factor region. If an iterable, it should have three
      elements.
  
  mode : {'repeat', 'dilate'}
      Upscaling mode: repeat element values or upscale leaving zeroes between
      upscaled elements. Default is 'repeat'.
  
  **kwargs
      Any additional keyword arguments are passed to the :class:`Layer`
      superclass.
class_docstr_tok: ["3D","upscaling","layer","Performs","3D","upscaling","over","the","three","trailing","axes","of","a","5D","input","tensor",".","Parameters","--","--","--","--","--","incoming",":","a",":","class",":","`","Layer","`","instance","or","tuple","The","layer","feeding","into","this","layer",",","or","the","expected","input","shape",".","scale_factor",":","integer","or","iterable","The","scale","factor","in","each","dimension",".","If","an","integer",",","it","is","promoted","to","a","cubic","scale","factor","region",".","If","an","iterable",",","it","should","have","three","elements",".","mode",":","{","'repeat","'",",","'dilate","'","}","Upscaling","mode",":","repeat","element","values","or","upscale","leaving","zeroes","between","upscaled","elements",".","Default","is","'repeat","'",".","*","*","kwargs","Any","additional","keyword","arguments","are","passed","to","the",":","class",":","`","Layer","`","superclass","."]
code: def get_output_shape_for(self, input_shape):
      output_shape = list(input_shape)  # copy / convert to mutable list
      if output_shape[2] is not None:
          output_shape[2] *= self.scale_factor[0]
      if output_shape[3] is not None:
          output_shape[3] *= self.scale_factor[1]
      if output_shape[4] is not None:
          output_shape[4] *= self.scale_factor[2]
      return tuple(output_shape)
  
imports: import theano.tensor
  from .base import Layer
  from ..utils import as_tuple
label_desc: Use image node_id 2 for calling the Upscale3DLayer obj's underlying member method code with example usage: obj.get_output_shape_for(input_shape) and returns: tuple