code: def signature(self, *, batched):
      return self.fmap(
          function=(lambda spec: spec.signature(batched=batched)),
          cls=SignatureDict,
      )
  
file_path: tensorforce/tensorforce/core/utils/tensors_spec.py
imports: from tensorforce import TensorforceError
  from tensorforce.core.utils import ArrayDict, NestedDict, SignatureDict, TensorDict, TensorSpec
label_desc: Use image node_id 2 for calling the TensorsSpec obj's underlying member method code with example usage: obj.signature() and returns: self