(self, size=(2, 2, 2), data_format=None, **kwargs)
| 2043 | """ |
| 2044 | |
| 2045 | def __init__(self, size=(2, 2, 2), data_format=None, **kwargs): |
| 2046 | self.data_format = conv_utils.normalize_data_format(data_format) |
| 2047 | self.size = conv_utils.normalize_tuple(size, 3, 'size') |
| 2048 | self.input_spec = InputSpec(ndim=5) |
| 2049 | super(UpSampling3D, self).__init__(**kwargs) |
| 2050 | |
| 2051 | def compute_output_shape(self, input_shape): |
| 2052 | input_shape = tensor_shape.TensorShape(input_shape).as_list() |