parameters: (self, namespace_prefix)
return_statement: return reshape_dims_name, reduction_dims_name
docstring: Builds constant nodes needed for quantization of inputs.
docstring_summary: Builds constant nodes needed for quantization of inputs.
docstring_tokens: Builds constant nodes needed for quantization of inputs .
function: def add_common_quantization_nodes(self, namespace_prefix):
      """Builds constant nodes needed for quantization of inputs."""
      reshape_dims_name = namespace_prefix + "_reshape_dims"
      reduction_dims_name = namespace_prefix + "_reduction_dims"
  
      reshape_dims_node = create_constant_node(reshape_dims_name, -1, tf.int32,
                                               [1])
      self.add_output_graph_node(reshape_dims_node)
      reduction_dims_node = create_constant_node(reduction_dims_name, 0, tf.int32,
                                                 [1])
      self.add_output_graph_node(reduction_dims_node)
      return reshape_dims_name, reduction_dims_name
function_tokens: def add_common_quantization_nodes ( self , namespace_prefix ) : reshape_dims_name = namespace_prefix + "_reshape_dims" reduction_dims_name = namespace_prefix + "_reduction_dims" reshape_dims_node = create_constant_node ( reshape_dims_name , - 1 , tf . int32 , [ 1 ] ) self . add_output_graph_node ( reshape_dims_node ) reduction_dims_node = create_constant_node ( reduction_dims_name , 0 , tf . int32 , [ 1 ] ) self . add_output_graph_node ( reduction_dims_node ) return reshape_dims_name , reduction_dims_name