code: def shape_may_be_nontrivial(shape):
      """Returns `True` if it's possible that `shape` describes a non-scalar."""
      static_size = tf.get_static_value(ps.size(shape))
      return (static_size is None) or static_size >= 1
  
imports: import functools
  import hashlib
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import reparameterization
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 7 for calling a global function with example usage: shape_may_be_nontrivial(shape) and returns: unknown