Home
last modified time | relevance | path

Searched refs:InputSpec (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/engine/
Dinput_spec_test.py28 input_spec.InputSpec(shape=[1, None, 2, 3], axes={3: 5, '2': 2})
30 input_spec.InputSpec(shape=[1, None, 2, 3], axes={4: 5})
32 input_spec.InputSpec(shape=[1, None, 2, 3], axes={'string': 5})
38 spec = input_spec.InputSpec(shape=[1, None, 2, 3])
43 spec = input_spec.InputSpec(ndim=5)
47 spec = input_spec.InputSpec(ndim=0)
51 spec = input_spec.InputSpec(ndim=3, axes={1: 3, -1: 2})
56 spec = input_spec.InputSpec(max_ndim=5)
60 spec = input_spec.InputSpec(min_ndim=5, max_ndim=5)
Dinput_spec.py34 class InputSpec(object): class
284 if isinstance(input_spec, InputSpec):
/external/tensorflow/tensorflow/python/layers/
Dbase.py22 InputSpec = base.InputSpec variable
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.layers.-input-spec.pbtxt1 path: "tensorflow.keras.layers.InputSpec"
3 is_instance: "<class \'tensorflow.python.keras.engine.input_spec.InputSpec\'>"
Dtensorflow.layers.-input-spec.pbtxt1 path: "tensorflow.layers.InputSpec"
3 is_instance: "<class \'tensorflow.python.keras.engine.input_spec.InputSpec\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.layers.-input-spec.pbtxt1 path: "tensorflow.keras.layers.InputSpec"
3 is_instance: "<class \'tensorflow.python.keras.engine.input_spec.InputSpec\'>"
/external/tensorflow/tensorflow/python/keras/layers/
Dpooling.py26 from tensorflow.python.keras.engine.input_spec import InputSpec
70 self.input_spec = InputSpec(ndim=3)
286 self.input_spec = InputSpec(ndim=4)
559 self.input_spec = InputSpec(ndim=5)
726 self.input_spec = InputSpec(ndim=3)
861 self.input_spec = InputSpec(ndim=4)
968 self.input_spec = InputSpec(ndim=5)
Dlocal.py28 from tensorflow.python.keras.engine.input_spec import InputSpec
156 self.input_spec = InputSpec(ndim=3)
244 self.input_spec = InputSpec(ndim=3, axes={1: input_dim})
246 self.input_spec = InputSpec(ndim=3, axes={-1: input_dim})
458 self.input_spec = InputSpec(ndim=4)
549 self.input_spec = InputSpec(ndim=4, axes={1: input_filter})
551 self.input_spec = InputSpec(ndim=4, axes={-1: input_filter})
Dconvolutional.py33 from tensorflow.python.keras.engine.input_spec import InputSpec
163 self.input_spec = InputSpec(min_ndim=self.rank + 2)
219 self.input_spec = InputSpec(min_ndim=self.rank + 2,
974 self.input_spec = InputSpec(ndim=3, axes={channel_axis: input_dim})
1245 self.input_spec = InputSpec(ndim=4, axes={channel_axis: input_dim})
1556 self.input_spec = InputSpec(ndim=5, axes={channel_axis: input_dim})
1819 self.input_spec = InputSpec(ndim=self.rank + 2,
2413 self.input_spec = InputSpec(ndim=4, axes={channel_axis: input_dim})
2516 self.input_spec = InputSpec(ndim=3)
2603 self.input_spec = InputSpec(ndim=4)
[all …]
Dcore.py45 from tensorflow.python.keras.engine.input_spec import InputSpec
280 self.input_spec = InputSpec(ndim=3)
337 self.input_spec = InputSpec(ndim=4)
395 self.input_spec = InputSpec(ndim=5)
604 self.input_spec = InputSpec(ndim=len(self.dims) + 1)
657 self.input_spec = InputSpec(min_ndim=1)
740 self.input_spec = InputSpec(ndim=2)
1171 self.input_spec = InputSpec(min_ndim=2)
1185 self.input_spec = InputSpec(min_ndim=2, axes={-1: last_dim})
Dconvolutional_recurrent.py30 from tensorflow.python.keras.engine.input_spec import InputSpec
179 self.input_spec = [InputSpec(ndim=5)]
237 self.input_spec[0] = InputSpec(shape=(batch_size, None) + input_shape[2:5])
268 self.state_spec = [InputSpec(shape=(None, dim, None, None))
271 self.state_spec = [InputSpec(shape=(None, None, None, dim))
Dadvanced_activations.py27 from tensorflow.python.keras.engine.input_spec import InputSpec
164 self.input_spec = InputSpec(ndim=len(input_shape), axes=axes)
Dwrappers.py28 from tensorflow.python.keras.engine.input_spec import InputSpec
187 lambda x: InputSpec(shape=[None, None] + x.as_list()[2:]), input_shape)
605 state_specs = [InputSpec(shape=K.int_shape(state))
613 constants_spec = [InputSpec(shape=K.int_shape(constant))
Dcudnn_recurrent.py28 from tensorflow.python.keras.engine.input_spec import InputSpec
72 self.input_spec = [InputSpec(ndim=3)]
77 self.state_spec = [InputSpec(shape=(None, dim)) for dim in state_size]
Dkernelized.py188 self.input_spec = input_spec.InputSpec(
Drecurrent.py37 from tensorflow.python.keras.engine.input_spec import InputSpec
555 return InputSpec(shape=tuple(input_spec_shape))
604 InputSpec(shape=[None] + tensor_shape.TensorShape(dim).as_list())
683 lambda s: InputSpec(shape=K.int_shape(s)), initial_state)
688 InputSpec(shape=K.int_shape(constant)) for constant in constants
1582 self.input_spec = [InputSpec(ndim=3)]
2118 self.input_spec = [InputSpec(ndim=3)]
2794 self.input_spec = [InputSpec(ndim=3)]
Dserialization.py127 LOCAL.ALL_OBJECTS['InputSpec'] = input_spec.InputSpec
/external/llvm-project/llvm/lib/Analysis/
DTFUtils.cpp358 auto &InputSpec = InputSpecs[I]; in TFModelEvaluatorImpl() local
360 TF_GraphOperationByName(Graph.get(), (InputSpec.name()).c_str()), in TFModelEvaluatorImpl()
361 InputSpec.port()}; in TFModelEvaluatorImpl()
362 if (!checkReportAndInvalidate(InputFeed[I], InputSpec)) in TFModelEvaluatorImpl()
364 initInput(I, static_cast<TF_DataType>(InputSpec.typeIndex()), in TFModelEvaluatorImpl()
365 InputSpec.shape()); in TFModelEvaluatorImpl()
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/
Dimage_preprocessing.py32 from tensorflow.python.keras.engine.input_spec import InputSpec
97 self.input_spec = InputSpec(ndim=4)
147 self.input_spec = InputSpec(ndim=4)
222 self.input_spec = InputSpec(ndim=4)
401 self.input_spec = InputSpec(ndim=4)
526 self.input_spec = InputSpec(ndim=4)
815 self.input_spec = InputSpec(ndim=4)
951 self.input_spec = InputSpec(ndim=4)
1090 self.input_spec = InputSpec(ndim=4)
1172 self.input_spec = InputSpec(ndim=4)
[all …]
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dbase_test.py280 self.input_spec = input_spec.InputSpec(ndim=2)
302 self.input_spec = input_spec.InputSpec(min_ndim=2)
325 self.input_spec = input_spec.InputSpec(max_ndim=2)
348 self.input_spec = input_spec.InputSpec(dtype='float32')
368 self.input_spec = input_spec.InputSpec(axes={-1: 2})
390 self.input_spec = input_spec.InputSpec(shape=(None, 3))
Dbase.py42 InputSpec = base_layer.InputSpec # pylint: disable=invalid-name variable
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn_cell.py79 self.input_spec = base_layer.InputSpec(ndim=2)
262 self.input_spec = base_layer.InputSpec(ndim=2)
/external/tensorflow/tensorflow/python/keras/premade/
Dlinear.py115 input_spec.InputSpec(shape=shape, name=name))
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_impl.py441 self.input_spec = input_spec.InputSpec(ndim=2)
549 self.input_spec = input_spec.InputSpec(ndim=2)
726 self.input_spec = input_spec.InputSpec(ndim=2)
932 self.input_spec = input_spec.InputSpec(ndim=2)
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsaved_model_test.py71 self.input_spec = keras.layers.InputSpec(shape=[None] * len(input_shape))
330 'a': keras.layers.InputSpec(max_ndim=3, axes={-1: 2}),
331 'b': keras.layers.InputSpec(shape=(None, 2, 3), dtype='float16')}
883 self.input_spec = keras.layers.InputSpec(shape=[None])

12