Home
last modified time | relevance | path

Searched refs:dilation_rate (Results 1 – 25 of 56) sorted by relevance

123

/external/tensorflow/tensorflow/python/kernel_tests/
Dpool_test.py40 dilation_rate, argument
64 effective_window_size = (window_size - 1) * dilation_rate + 1
91 input_start_pos += dilation_rate
92 input_slice = np.s_[input_start_pos:input_end_pos:dilation_rate]
104 dilation_rate, argument
141 dilation_rate=dilation_rate[i],
166 dilation_rate=[1, 1],
176 for dilation_rate in [[1], [2], [3]]:
182 dilation_rate=dilation_rate,
192 dilation_rate=[1],
[all …]
Datrous_convolution_test.py99 dilation_rate, **kwargs): argument
102 filters_upsampled = upsample_filters(filters, dilation_rate)
105 input=x, filter=filters, dilation_rate=dilation_rate, **kwargs)
118 x, w, "VALID", dilation_rate=[2, 2], data_format="NHWC")
126 x, w, "VALID", dilation_rate=[2, 2], data_format="NCHW")
135 for dilation_rate in [[1, 1], [3, 2], [2, 1]]:
141 dilation_rate=dilation_rate,
152 for dilation_rate in [[1, 1, 1], [3, 3, 3], [3, 2, 3], [3, 1, 2]]:
160 dilation_rate=dilation_rate,
175 dilation_rate=[rate],
[all …]
Dconv_ops_3d_test.py159 dilation_rate=dilation,
762 dilation_rate=dilations,
/external/tensorflow/tensorflow/python/layers/
Dconvolutional.py85 dilation_rate=1, argument
104 dilation_rate=dilation_rate,
128 dilation_rate=1, argument
204 dilation_rate=dilation_rate,
284 dilation_rate=(1, 1), argument
303 dilation_rate=dilation_rate,
327 dilation_rate=(1, 1), argument
410 dilation_rate=dilation_rate,
491 dilation_rate=(1, 1, 1), argument
510 dilation_rate=dilation_rate,
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dpadding.h23 inline int ComputePadding(int stride, int dilation_rate, int in_size, in ComputePadding() argument
25 int effective_filter_size = (filter_size - 1) * dilation_rate + 1; in ComputePadding()
32 inline int ComputePaddingWithOffset(int stride, int dilation_rate, int in_size, in ComputePaddingWithOffset() argument
35 int effective_filter_size = (filter_size - 1) * dilation_rate + 1; in ComputePaddingWithOffset()
45 int filter_size, int stride, int dilation_rate = 1) {
46 int effective_filter_size = (filter_size - 1) * dilation_rate + 1;
/external/tensorflow/tensorflow/python/ops/
Dnn_ops.py328 dilation_rate, argument
476 dilation_rate,
505 dilation_rate, argument
512 dilation_rate = ops.convert_to_tensor(
513 dilation_rate, dtypes.int32, name="dilation_rate")
515 rate_shape = dilation_rate.get_shape().with_rank(1)
519 if not dilation_rate.get_shape().is_fully_defined():
550 const_rate = tensor_util.constant_value(dilation_rate)
551 rate_or_const_rate = dilation_rate
585 self.dilation_rate = dilation_rate
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dconvolutional.py108 dilation_rate=1, argument
137 self.dilation_rate = conv_utils.normalize_tuple(
138 dilation_rate, rank, 'dilation_rate')
185 dilation_rate=self.dilation_rate,
196 dilation_rate=self.dilation_rate,
233 dilation=self.dilation_rate[i])
246 dilation=self.dilation_rate[i])
258 'dilation_rate': self.dilation_rate,
275 left_pad = self.dilation_rate[0] * (self.kernel_size[0] - 1)
416 dilation_rate=1, argument
[all …]
Dconvolutional_recurrent.py200 dilation=cell.dilation_rate[0])
205 dilation=cell.dilation_rate[1])
556 dilation_rate=(1, 1), argument
579 self.dilation_rate = conv_utils.normalize_tuple(dilation_rate, 2,
713 dilation_rate=self.dilation_rate)
731 'dilation_rate': self.dilation_rate,
884 dilation_rate=(1, 1), argument
910 dilation_rate=dilation_rate,
962 def dilation_rate(self): member in ConvLSTM2D
963 return self.cell.dilation_rate
[all …]
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dconv2d_test.py38 dilation_rate=(1, 1)): argument
47 dilations = [1] + list(dilation_rate) + [1]
51 dilations = [1, 1] + list(dilation_rate)
75 for dilation_rate in dilation_rates:
77 data_format, dilation_rate)
158 dilation_rate=(2, 3),
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconv_grad_size_util.cc25 int64 input_size, int64 filter_size, int64 dilation_rate, int64 stride, in GetWindowedOutputSize() argument
31 if (dilation_rate < 1) { in GetWindowedOutputSize()
33 "Dilation rate must be >= 1, but got ", dilation_rate); in GetWindowedOutputSize()
36 int64 effective_filter_size = (filter_size - 1) * dilation_rate + 1; in GetWindowedOutputSize()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.pbtxt101 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
105 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
113 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
145 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'depth_mul…
149 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'depth_mul…
Dtensorflow.keras.backend.pbtxt93 …argspec: "args=[\'x\', \'kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], …
97 …argspec: "args=[\'x\', \'kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], …
101 …nel\', \'output_shape\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], varargs=No…
105 …argspec: "args=[\'x\', \'kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], …
137 …', \'depthwise_kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], varargs=No…
437 …', \'pointwise_kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], varargs=No…
Dtensorflow.keras.layers.-conv-l-s-t-m2-d.pbtxt36 name: "dilation_rate"
205 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
Dtensorflow.nn.pbtxt113 …argspec: "args=[\'input\', \'filter\', \'padding\', \'strides\', \'dilation_rate\', \'name\', \'da…
293 …argspec: "args=[\'input\', \'window_shape\', \'pooling_type\', \'padding\', \'dilation_rate\', \'s…
429 …argspec: "args=[\'input\', \'dilation_rate\', \'padding\', \'op\', \'filter_shape\', \'spatial_dim…
Dtensorflow.keras.layers.-conv2-d.pbtxt116 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
Dtensorflow.keras.layers.-conv1-d.pbtxt116 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
/external/tensorflow/tensorflow/compiler/tests/
Dconv_node_name_test.py58 dilation_rate=dilations,
67 dilation_rate=dilations,
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.h104 int64 dilation_rate, int64 stride,
123 int64 dilation_rate, int64 stride,
165 DimensionOrConstant filter_size, int64 dilation_rate, int64 stride,
Dcommon_shape_fns.cc31 int64 dilation_rate, int64 stride, in GetWindowedOutputSizeVerboseV2() argument
38 if (dilation_rate < 1) { in GetWindowedOutputSizeVerboseV2()
40 dilation_rate); in GetWindowedOutputSizeVerboseV2()
44 int64 effective_filter_size = (filter_size - 1) * dilation_rate + 1; in GetWindowedOutputSizeVerboseV2()
101 int64 dilation_rate, int64 stride, in GetWindowedOutputSizeV2() argument
110 return GetWindowedOutputSizeVerboseV2(input_size, filter_size, dilation_rate, in GetWindowedOutputSizeV2()
150 shape_inference::DimensionOrConstant filter_size, int64 dilation_rate, in GetWindowedOutputSizeFromDimsV2() argument
157 if (dilation_rate < 1) { in GetWindowedOutputSizeFromDimsV2()
159 dilation_rate); in GetWindowedOutputSizeFromDimsV2()
170 if (dilation_rate > 1) { in GetWindowedOutputSizeFromDimsV2()
[all …]
/external/tensorflow/tensorflow/python/keras/
Dbackend.py4890 dilation_rate=1): argument
4916 left_pad = dilation_rate * (kernel_shape[0] - 1)
4925 dilation_rate=dilation_rate,
4940 dilation_rate=(1, 1)): argument
4968 dilation_rate=dilation_rate,
4984 dilation_rate=(1, 1)): argument
5011 if data_format == 'channels_first' and dilation_rate != (1, 1):
5033 if dilation_rate == (1, 1):
5038 assert dilation_rate[0] == dilation_rate[1]
5043 rate=dilation_rate[0],
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.backend.pbtxt89 …argspec: "args=[\'x\', \'kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], …
93 …argspec: "args=[\'x\', \'kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], …
97 …nel\', \'output_shape\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], varargs=No…
101 …argspec: "args=[\'x\', \'kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], …
133 …', \'depthwise_kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], varargs=No…
433 …', \'pointwise_kernel\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\'], varargs=No…
Dtensorflow.keras.layers.-conv-l-s-t-m2-d.pbtxt36 name: "dilation_rate"
205 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
Dtensorflow.keras.layers.-convolution1-d.pbtxt116 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
Dtensorflow.keras.layers.-conv1-d.pbtxt116 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…
Dtensorflow.keras.layers.-conv3-d.pbtxt116 …ters\', \'kernel_size\', \'strides\', \'padding\', \'data_format\', \'dilation_rate\', \'activatio…

123