kaldi\.nnet3 ============ .. automodule:: kaldi.nnet3 .. rubric:: Functions .. autosummary:: :nosignatures: add_nnet add_nnet_components append_cindexes append_input_frames apply_l2_regularization apply_scales_to_input apply_scales_to_output attention_backward attention_forward check_computation check_model_and_io collapse_model compile_convolution_computation compile_looped component_dot_products compute_command_attributes compute_computation_phases compute_example_computation_request_simple compute_graph_transpose compute_matrix_accesses compute_matrix_to_submatrix compute_nnet_computation_epochs compute_objective_function compute_simple_nnet_context compute_top_sort_order compute_variable_accesses consolidate_io_operations consolidate_memory consolidate_model_update constrain_orthonormal convert_addition_to_assignment convert_repeated_to_block_affine convert_to_indexes convolve_backward_data convolve_backward_params convolve_forward create_looped_computation_request create_looped_computation_request_simple descriptor_tokenize dot_product ensure_contiguous_property error_context error_context_from_stream evaluate_computation_request example_approx_equal expand_computation extend_matrices find_orphan_components find_orphan_nodes find_sccs fix_goto_label freeze_natural_gradient generate_config_sequence generate_config_sequence_composite_block generate_random_simple_component generate_simple_nnet_training_example get_attention_dot_products get_chain_computation_request get_chunk_size get_commands_of_type get_computation_io get_computation_request get_indexes_for_computation get_max_memory_use get_nnet_example_size get_num_n_values get_nx_list get_t_list graph_has_cycles has_batchnorm has_contiguous_property identify_submatrix_args identify_submatrix_args_in_computation is_simple_nnet is_valid_name limit_derivative_times make_computation make_scc_graph matrix_is_unused max_output_time_in_request merge_chain_examples merge_examples modify_nnet_ivector_period move_sizing_commands nnet_info nnet_is_recurrent nnet_parameters_are_identical nnet_to_directed_graph num_input_nodes num_output_nodes num_parameters num_updatable_components optimize optimize_looped_computation optimize_memory_compression pad_computation_input_time pad_model_height parse_config_lines perturb_params print_cindex print_cindexes print_command_attributes print_graph_to_string print_indexes print_integer_vector print_matrix_accesses print_parameter_matrix_stats print_parameter_vector_stats print_vector_per_updatable_component read_cindex_vector read_config_lines read_edit_config read_index_vector read_vector_as_char recompute_stats remove_commands_for_unused_matrix remove_no_ops remove_unnecessary_allocation remove_unnecessary_zeroing renumber_computation replace_row_with_matrix_ops request_is_decomposable reset_generators scale_batchnorm_stats scale_nnet set_batchnorm_test_mode set_dropout_proportion set_dropout_test_mode set_learning_rate set_nnet_as_gradient shift_chain_example_times snip_row_ops split_locations split_locations_backward split_row_ops summarize_cu_vector summarize_double_vector summarize_vector un_pad_model_height un_vectorize_nnet update_nnet_with_max_change variable_merging_optimization vectorize_nnet write_cindex_vector write_index_vector write_vector_as_char zero_component_stats .. rubric:: Classes .. autosummary:: :nosignatures: Access AccessType AffineComponent AmNnetSimple Analyzer BackpropTruncationComponent BackpropTruncationComponentPrecomputedIndexes BatchNormComponent BinarySumDescriptor BlockAffineComponent CachingOptimizingCompiler CachingOptimizingCompilerOptions ChainExampleMerger ChainObjectiveInfo CheckComputationOptions ChunkTimeInfo CindexSet ClipGradientComponent CollapseModelConfig CommandAttributes CommandType Compiler CompilerOptions Component ComponentPrecomputedIndexes ComponentProperties CompositeComponent ComputationAnalysis ComputationChecker ComputationGraph ComputationGraphBuilder ComputationRequest ComputationVariables ConfigLine ConstantComponent ConstantFunctionComponent ConstantSumDescriptor ConvolutionComputation ConvolutionComputationIo ConvolutionComputationOptions ConvolutionModel DecodableAmNnetLoopedOnline DecodableAmNnetSimple DecodableAmNnetSimpleLooped DecodableAmNnetSimpleParallel DecodableNnetLoopedOnline DecodableNnetSimple DecodableNnetSimpleLooped DecodableNnetSimpleLoopedInfo DerivativeTimeLimiter Descriptor DistributeComponent DistributeComponentPrecomputedIndexes DropoutComponent DropoutMaskComponent ElementwiseProductComponent ExampleGenerationConfig ExampleMerger ExampleMergingConfig ExampleMergingStats FixedAffineComponent FixedBiasComponent FixedScaleComponent ForwardingDescriptor GeneralDescriptor GeneralDropoutComponent GeneralDropoutComponentPrecomputedIndexes GruNonlinearityComponent Index IndexSet IoSpecification LinearComponent LogSoftmaxComponent LstmNonlinearityComponent MatrixAccesses MiscComputationInfo NaturalGradientAffineComponent NaturalGradientPerElementScaleComponent NaturalGradientRepeatedAffineComponent NetworkNode Nnet NnetBatchComputer NnetBatchComputerOptions NnetBatchDecoder NnetBatchInference NnetChainComputeProb NnetChainExample NnetChainSupervision NnetChainTrainer NnetChainTrainingOptions NnetComputation NnetComputeOptions NnetComputeProb NnetComputeProbOptions NnetComputer NnetExample NnetGenerationOptions NnetIo NnetOptimizeOptions NnetSimpleComputationOptions NnetSimpleLoopedComputationOptions NnetTrainer NnetTrainerOptions NoOpComponent NodeType NonlinearComponent NormalizeComponent ObjectiveFunctionInfo ObjectiveType OffsetForwardingDescriptor OnlineNaturalGradient OptionalSumDescriptor OutputGruNonlinearityComponent PerDimObjectiveInfo PerElementOffsetComponent PerElementScaleComponent PermuteComponent PnormComponent RandomComponent RectifiedLinearComponent RepeatedAffineComponent ReplaceIndexForwardingDescriptor RestrictedAttentionComponent RoundingForwardingDescriptor ScaleAndOffsetComponent SigmoidComponent SimpleForwardingDescriptor SimpleObjectiveInfo SimpleSumDescriptor SoftmaxComponent StatisticsExtractionComponent StatisticsExtractionComponentPrecomputedIndexes StatisticsPoolingComponent StatisticsPoolingComponentPrecomputedIndexes SumBlockComponent SumDescriptor SumGroupComponent SwitchingForwardingDescriptor TanhComponent TdnnComponent TimeHeightConvolutionComponent UpdatableComponent UtteranceSplitter VariableMergingOptimizer