parameters: (self)
return_statement: return c_sampler
docstring: Parse the sampler for MindRecord.
docstring_summary: Parse the sampler for MindRecord.
docstring_tokens: Parse the sampler for MindRecord .
function: def parse_for_minddataset(self):
          """Parse the sampler for MindRecord."""
          c_sampler = cde.MindrecordSubsetSampler(self.indices, ds.config.get_seed())
          c_child_sampler = self.parse_child_for_minddataset()
          c_sampler.add_child(c_child_sampler)
          c_sampler.set_num_samples(self.get_num_samples())
          return c_sampler
function_tokens: def parse_for_minddataset ( self ) : c_sampler = cde . MindrecordSubsetSampler ( self . indices , ds . config . get_seed ( ) ) c_child_sampler = self . parse_child_for_minddataset ( ) c_sampler . add_child ( c_child_sampler ) c_sampler . set_num_samples ( self . get_num_samples ( ) ) return c_sampler