docstr: This function creates a new logical variable within the topology.
  If original_input_name has been used to create other variables,
  the new variable will hide all other variables created using original_input_name.
docstr_tok: ["This","function","creates","a","new","logical","variable","within","the","topology",".","If","original_input_name","has","been","used","to","create","other","variables",",","the","new","variable","will","hide","all","other","variables","created","using","original_input_name","."]
code: def declare_logical_variable(self, original_input_name, type=None):
      """
      This function creates a new logical variable within the topology.
      If original_input_name has been used to create other variables,
      the new variable will hide all other variables created using original_input_name.
      """
      return self.scope.declare_local_variable(
          original_input_name, type=type
      )
  
imports: import numpy
  import os
  from packaging.version import Version, parse
  import torch
  from uuid import uuid4
  from onnxconverter_common.registration import get_converter
  from onnxconverter_common.topology import Topology
  import onnx
  from hummingbird.ml.containers import PyTorchSklearnContainerRegression, PyTorchSklearnContainerClassification, PyTorchSklearnContainerTransformer, PyTorchSklearnContainerAnomalyDetection, TorchScriptSklearnContainerRegression, TorchScriptSklearnContainerClassification, TorchScriptSklearnContainerTransformer, TorchScriptSklearnContainerAnomalyDetection, ONNXSklearnContainerRegression, ONNXSklearnContainerClassification, ONNXSklearnContainerTransformer, ONNXSklearnContainerAnomalyDetection, TVMSklearnContainerRegression, TVMSklearnContainerClassification, TVMSklearnContainerTransformer, TVMSklearnContainerAnomalyDetection, BatchContainer
  from hummingbird.ml._utils import pandas_installed, tvm_installed, get_device, from_strings_to_ints
  from hummingbird.ml._executor import Executor
  from hummingbird.ml.exceptions import MissingConverter
  from hummingbird.ml.operator_converters import constants
label_desc: Use image node_id 4 for calling the Topology obj's underlying member method code with example usage: obj.declare_logical_variable(original_input_name, type) and returns: self