Home
last modified time | relevance | path

Searched refs:channel_axis (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dcolorspace_op.h42 Eigen::array<int, 1> channel_axis{{1}}; in operator()
44 Eigen::IndexList<Eigen::type2index<1> > channel_axis; in operator() local
47 V.device(d) = input_data.maximum(channel_axis); in operator()
49 range.device(d) = V - input_data.minimum(channel_axis); in operator()
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional.py149 channel_axis = 1
151 channel_axis = -1
152 if input_shape.dims[channel_axis].value is None:
155 input_dim = int(input_shape[channel_axis])
178 axes={channel_axis: input_dim})
747 channel_axis = 1
749 channel_axis = -1
750 if input_shape.dims[channel_axis].value is None:
753 input_dim = int(input_shape[channel_axis])
754 self.input_spec = InputSpec(ndim=4, axes={channel_axis: input_dim})
[all …]
Dconvolutional_recurrent.py604 channel_axis = 1
606 channel_axis = -1
607 if input_shape[channel_axis] is None:
610 input_dim = input_shape[channel_axis]
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Dcore_layers.py127 channel_axis = 1 if self.data_format == 'channels_first' else -1
128 if tensor_shape.dimension_value(input_shape[channel_axis]) is None:
131 input_dim = tensor_shape.dimension_value(input_shape[channel_axis])
176 ndim=self.rank + 2, axes={channel_axis: input_dim})
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
Dsugar_test.py62 self.channel_axis = ('channel', self.channels)
66 self.batch_axis, self.row_axis, self.column_axis, self.channel_axis,
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dlayers.py2012 channel_axis = self._channel_axis()
2014 num_channels = input_shape.dims[channel_axis].value
2021 channel_axis: num_channels
2100 channel_axis = self._channel_axis()
2104 if input_shape.dims[channel_axis].value is None: