mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
Summary: Two new operators to pack and unpack a dataset. This is so that we can re-use other operators that do not understand the schema format. The immediate use-case is to use it with a partition operator. Packing works by splitting the input into separate tensors, putting them in a vector and wrapping in a shared_ptr (as opposed to a unique_ptr, so we can copy). Unpack takes the packed input and concatenates it back to the original. I also had a gard time understanding the iteration, so I created a TreeWalker that just hides the complexity of operating with all the arrays and makes the short functions for a given purpose that at least for me are easier to understand. Reviewed By: dzhulgakov Differential Revision: D4870606 fbshipit-source-id: dc29428de5c96cc3039af2885d9e4b026d9f482d |
||
|---|---|---|
| .. | ||
| activation_ops_test.py | ||
| adagrad_test.py | ||
| adam_test.py | ||
| atomic_ops_test.py | ||
| checkpoint_test.py | ||
| conv_test.py | ||
| conv_transpose_test.py | ||
| copy_ops_test.py | ||
| cosine_embedding_criterion_op_test.py | ||
| counter_ops_test.py | ||
| crf_test.py | ||
| cross_entropy_ops_test.py | ||
| dataset_ops_test.py | ||
| duplicate_operands_test.py | ||
| elementwise_linear_op_test.py | ||
| elementwise_op_broadcast_test.py | ||
| elementwise_ops_test.py | ||
| emptysample_ops_test.py | ||
| extend_tensor_op_test.py | ||
| fc_operator_test.py | ||
| filler_ops_test.py | ||
| gather_ops_test.py | ||
| gather_ranges_op_test.py | ||
| given_tensor_fill_op_test.py | ||
| group_conv_test.py | ||
| hsm_test.py | ||
| index_ops_test.py | ||
| instance_norm_test.py | ||
| lengths_tile_op_test.py | ||
| loss_ops_test.py | ||
| margin_ranking_criterion_op_test.py | ||
| matmul_op_test.py | ||
| mkl_conv_op_test.py | ||
| mkl_packed_fc_op_test.py | ||
| mkl_speed_test.py | ||
| momentum_sgd_test.py | ||
| mpi_test.py | ||
| one_hot_ops_test.py | ||
| pack_ops_test.py | ||
| pad_test.py | ||
| partition_ops_test.py | ||
| piecewise_linear_transform_test.py | ||
| pooling_test.py | ||
| pow_op_test.py | ||
| python_op_test.py | ||
| rank_loss_operator_test.py | ||
| record_queue_test.py | ||
| recurrent_network_test.py | ||
| reduce_ops_test.py | ||
| reduction_ops_test.py | ||
| relu_op_test.py | ||
| reshape_ops_test.py | ||
| resize_op_test.py | ||
| rnn_cell_test.py | ||
| segment_ops_test.py | ||
| sequence_ops_test.py | ||
| shape_inference_test.py | ||
| softmax_ops_test.py | ||
| sparse_gradient_checker_test.py | ||
| sparse_ops_test.py | ||
| spatial_bn_op_test.py | ||
| square_root_divide_op_test.py | ||
| stats_ops_test.py | ||
| string_ops_test.py | ||
| text_file_reader_test.py | ||
| tile_op_test.py | ||
| top_k_test.py | ||
| unique_uniform_fill_op_test.py | ||
| utility_ops_test.py | ||