code: def test_autosharding_is_disabled(self):
      ds = ray.data.from_items([{"spam": 0, "ham": 0}])
  
      dataset = ds.to_tf(feature_columns="spam", label_columns="ham")
  
      actual_auto_shard_policy = (
          dataset.options().experimental_distribute.auto_shard_policy
      )
      expected_auto_shard_policy = (
          tf.data.experimental.AutoShardPolicy.OFF
      )
      assert actual_auto_shard_policy is expected_auto_shard_policy
  
file_path: ray/python/ray/data/tests/test_tf.py
imports: import numpy
  import pandas
  import pytest
  import tensorflow
  import ray
  from ray import train
  from ray.data.preprocessors import Concatenator
  from ray.train import ScalingConfig
  from ray.train.tensorflow import TensorflowTrainer
label_desc: Use image node_id 1 for calling the TestToTF obj's underlying member method code with example usage: obj.test_autosharding_is_disabled() without return types