Пример #1
0
 def call(self, inputs):
   outputs = K.batch_flatten(inputs)
   outputs.set_shape(self._compute_output_shape(inputs.get_shape()))
   return outputs
Пример #2
0
 def call(self, inputs):
   outputs = K.batch_flatten(inputs)
   outputs.set_shape(self._compute_output_shape(inputs.get_shape()))
   return outputs