docstr: The number of Rows in Spark DataFrame to transform as one shard of SparkXShards. We convert
  Spark DataFrame input to SparkXShards internally in fit/predict/evaluate of
  PyTorchRayEstimator and TensorFlow2Estimator. This parameter may affect the performance in
  transferring an SparkXShards to an RayXShards.
  Default to be None, in which case Rows in one partition will be transformed as one shard.
docstr_tok: ["The","number","of","Rows","in","Spark","DataFrame","to","transform","as","one","shard","of","SparkXShards",".","We","convert","Spark","DataFrame","input","to","SparkXShards","internally","in","fit\/predict\/evaluate","of","PyTorchRayEstimator","and","TensorFlow2Estimator",".","This","parameter","may","affect","the","performance","in","transferring","an","SparkXShards","to","an","RayXShards",".","Default","to","be","None",",","in","which","case","Rows","in","one","partition","will","be","transformed","as","one","shard","."]
code: def _shard_size(cls):
      """
      The number of Rows in Spark DataFrame to transform as one shard of SparkXShards. We convert
      Spark DataFrame input to SparkXShards internally in fit/predict/evaluate of
      PyTorchRayEstimator and TensorFlow2Estimator. This parameter may affect the performance in
      transferring an SparkXShards to an RayXShards.
      Default to be None, in which case Rows in one partition will be transformed as one shard.
      """
      return cls.__shard_size
  
imports: import os
  from zoo import ZooContext
label_desc: Use image node_id 11 for calling the OrcaContextMeta obj's underlying member method code with example usage: obj._shard_size(cls) and returns: cls