parameters: (streams)
return_statement: return cntk_py.htk_feature_deserializer(feat)
docstring: Configures the HTK feature reader that reads speech data from scp files.
  
      Args:
          streams: any dictionary-like object that contains a mapping from stream
            names to :class:`StreamDef` objects. Each StreamDef object configures
            a feature stream.
docstring_summary: Configures the HTK feature reader that reads speech data from scp files.
docstring_tokens: Configures the HTK feature reader that reads speech data from scp files .
function: def HTKFeatureDeserializer(streams):
      '''
      Configures the HTK feature reader that reads speech data from scp files.
  
      Args:
          streams: any dictionary-like object that contains a mapping from stream
            names to :class:`StreamDef` objects. Each StreamDef object configures
            a feature stream.
      '''
      feat = []
      for stream_name, stream in streams.items():
          if stream.stream_alias is not None:
              raise ValueError("HTKFeatureDeserializer does not support stream names")
          if 'scp' not in stream:
              raise ValueError("No scp files specified for HTKFeatureDeserializer")
          dimension = stream.dim
          scp_file = stream['scp']
          broadcast = stream['broadcast'] if 'broadcast' in stream else False
          defines_mb_size = stream.get('defines_mb_size', False)
          max_sequence_length = stream.get('max_sequence_length', 65535)
          left_context, right_context = stream.context if 'context' in stream\
                                                       else (0, 0)
          htk_config = cntk_py.HTKFeatureConfiguration(stream_name, scp_file,
                                                       dimension, left_context,
                                                       right_context, broadcast,
                                                       defines_mb_size, max_sequence_length)
          feat.append(htk_config)
  
      if len(feat) == 0:
          raise ValueError("no feature streams found")
      return cntk_py.htk_feature_deserializer(feat)
function_tokens: def HTKFeatureDeserializer ( streams ) : feat = [ ] for stream_name , stream in streams . items ( ) : if stream . stream_alias is not None : raise ValueError ( "HTKFeatureDeserializer does not support stream names" ) if 'scp' not in stream : raise ValueError ( "No scp files specified for HTKFeatureDeserializer" ) dimension = stream . dim scp_file = stream [ 'scp' ] broadcast = stream [ 'broadcast' ] if 'broadcast' in stream else False defines_mb_size = stream . get ( 'defines_mb_size' , False ) max_sequence_length = stream . get ( 'max_sequence_length' , 65535 ) left_context , right_context = stream . context if 'context' in stream else ( 0 , 0 ) htk_config = cntk_py . HTKFeatureConfiguration ( stream_name , scp_file , dimension , left_context , right_context , broadcast , defines_mb_size , max_sequence_length ) feat . append ( htk_config ) if len ( feat ) == 0 : raise ValueError ( "no feature streams found" ) return cntk_py . htk_feature_deserializer ( feat )