class_docstr: This class is used to build reduced-space formulations
  of neural networks.
  
  Parameters
  ----------
  network_structure : NetworkDefinition
      the neural network definition
  activation_functions : dict-like or None
      overrides the actual functions used for particular activations
class_docstr_tok: ["This","class","is","used","to","build","reduced-space","formulations","of","neural","networks",".","Parameters","--","--","--","--","--","network_structure",":","NetworkDefinition","the","neural","network","definition","activation_functions",":","dict-like","or","None","overrides","the","actual","functions","used","for","particular","activations"]
docstr: The indexes of the formulation output.
docstr_tok: ["The","indexes","of","the","formulation","output","."]
code: def output_indexes(self):
      """The indexes of the formulation output."""
      network_outputs = list(self.__network_definition.output_nodes)
      if len(network_outputs) != 1:
          raise ValueError(
              "Multiple output layers are not currently supported."
          )
      return network_outputs[0].output_indexes
  
imports: import numpy
  import pyomo.environ
  from omlt.formulation import _PyomoFormulation, _setup_scaled_inputs_outputs
  from omlt.neuralnet.activations import ACTIVATION_FUNCTION_MAP
  from omlt.neuralnet.activations import ComplementarityReLUActivation, bigm_relu_activation_constraint, linear_activation_constraint, linear_activation_function, sigmoid_activation_constraint, sigmoid_activation_function, softplus_activation_constraint, softplus_activation_function, tanh_activation_constraint, tanh_activation_function
  from omlt.neuralnet.layer import ConvLayer2D, DenseLayer, InputLayer, PoolingLayer2D
  from omlt.neuralnet.layers.full_space import full_space_conv2d_layer, full_space_dense_layer, full_space_maxpool2d_layer
  from omlt.neuralnet.layers.partition_based import default_partition_split_func, partition_based_dense_relu_layer
  from omlt.neuralnet.layers.reduced_space import reduced_space_dense_layer
label_desc: Use image node_id 5 for calling the ReducedSpaceNNFormulation obj's underlying member method code with example usage: obj.output_indexes() and returns: network_outputs