code: def broadcast_to_shape_from_left(
      x: jnp.ndarray, shape: Tuple[int]
  ) -> jnp.ndarray:
      assert len(shape) >= x.ndim
      return jnp.broadcast_to(
          x.reshape(x.shape + (1,) * (len(shape) - x.ndim)), shape
      )
  
imports: import importlib
  import math
  import os
  from dataclasses import dataclass
  from enum import Enum
  from typing import Optional, Tuple, Union
  import flax
  import jax.numpy
  from huggingface_hub.utils import validate_hf_hub_args
  from ..utils import BaseOutput, PushToHubMixin
label_desc: Use image node_id 1 for calling a global function with example usage: broadcast_to_shape_from_left(x, shape) and returns: jnp