/usr/local/lib64/python3.6/site-packages/caffe2/python/layers/__pycache__
NameSizeModeActions
adaptive_weight.cpython-36.pyc52870644editdlrm
add_bias.cpython-36.pyc14790644editdlrm
arc_cosine_feature_map.cpython-36.pyc54270644editdlrm
batch_huber_loss.cpython-36.pyc23280644editdlrm
batch_lr_loss.cpython-36.pyc55650644editdlrm
batch_mse_loss.cpython-36.pyc18390644editdlrm
batch_normalization.cpython-36.pyc27790644editdlrm
batch_sigmoid_cross_entropy_loss.cpython-36.pyc15420644editdlrm
batch_softmax_loss.cpython-36.pyc28770644editdlrm
blob_weighted_sum.cpython-36.pyc24200644editdlrm
bpr_loss.cpython-36.pyc14050644editdlrm
bucket_weighted.cpython-36.pyc20790644editdlrm
build_index.cpython-36.pyc20680644editdlrm
concat.cpython-36.pyc40630644editdlrm
constant_weight.cpython-36.pyc16870644editdlrm
conv.cpython-36.pyc32440644editdlrm
dropout.cpython-36.pyc17270644editdlrm
fc.cpython-36.pyc61590644editdlrm
fc_without_bias.cpython-36.pyc18910644editdlrm
fc_with_bootstrap.cpython-36.pyc86530644editdlrm
feature_sparse_to_dense.cpython-36.pyc45710644editdlrm
functional.cpython-36.pyc29350644editdlrm
gather_record.cpython-36.pyc28860644editdlrm
homotopy_weight.cpython-36.pyc31370644editdlrm
label_smooth.cpython-36.pyc26460644editdlrm
last_n_window_collector.cpython-36.pyc17790644editdlrm
layers.cpython-36.pyc137220644editdlrm
layer_normalization.cpython-36.pyc31280644editdlrm
margin_rank_loss.cpython-36.pyc18080644editdlrm
merge_id_lists.cpython-36.pyc19840644editdlrm
pairwise_similarity.cpython-36.pyc23650644editdlrm
position_weighted.cpython-36.pyc19850644editdlrm
random_fourier_features.cpython-36.pyc25500644editdlrm
reservoir_sampling.cpython-36.pyc20150644editdlrm
sampling_train.cpython-36.pyc20730644editdlrm
sampling_trainable_mixin.cpython-36.pyc18730644editdlrm
select_record_by_context.cpython-36.pyc25680644editdlrm
semi_random_features.cpython-36.pyc45570644editdlrm
sparse_dropout_with_replacement.cpython-36.pyc23790644editdlrm
sparse_feature_hash.cpython-36.pyc28900644editdlrm
sparse_itemwise_dropout_with_replacement.cpython-36.pyc24470644editdlrm
sparse_lookup.cpython-36.pyc125140644editdlrm
split.cpython-36.pyc19240644editdlrm
tags.cpython-36.pyc27840644editdlrm
uniform_sampling.cpython-36.pyc21020644editdlrm
__init__.cpython-36.pyc10480644editdlrm
Edit: /usr/local/lib64/python3.6/site-packages/caffe2/python/layers/__pycache__/split.cpython-36.pyc (1924B)
3 EgÑã@s,ddlmZddlmZGdd„deƒZdS)é)Úschema)Ú ModelLayercs&eZdZd‡fdd„ Zdd„Z‡ZS) ÚSplitéÚsplitNc  sZttˆƒj|||f|Ž|ˆ_|d8}|dks2t‚t|tjƒsLtdj|ƒƒ‚|j ƒj }t |ƒ|ksft‚|dkr„|||dks t‚nt |ƒ}||t |ƒks t‚|dkrÆt |ƒ‰tˆ||ƒˆ|<n4g‰x.t|ƒD]"} t |ƒ} || | |<ˆj| ƒqÔW|j ƒj‰|dkr*‡‡‡fdd„t|ƒDƒ} n‡‡‡fdd„t|ƒDƒ} tj| Žˆ_|ˆ_dS)Nrrz8Incorrect input type. Expected Scalar, but received: {0}cs(g|] }tjˆˆfˆjdj|ƒƒƒ‘qS)z output_{})rÚScalarÚget_next_blob_referenceÚformat)Ú.0Úi)Ú data_typeÚ output_shapeÚself©úF/usr/local/lib64/python3.6/site-packages/caffe2/python/layers/split.pyú 4sz"Split.__init__..cs,g|]$}tjˆˆ|fˆjdj|ƒƒƒ‘qS)z output_{})rrrr )r r )r r rrrr<s)ÚsuperrÚ__init__ÚaxisÚAssertionErrorÚ isinstancerrr Z field_typeÚshapeÚlenÚsumÚlistÚintÚrangeÚappendÚbaseÚTupleÚ output_schemar) rÚmodelÚ input_recordZ num_splitsrÚnamerÚkwargsZ input_shaper Zoutput_shape_iZoutput_scalars)Ú __class__)r r rrrs:       zSplit.__init__cCs&|j|jjƒ|jjƒ|j|jddS)N)rr)rr"Z field_blobsr rr)rÚnetrrrÚadd_opsEs z Split.add_ops)rrrN)Ú__name__Ú __module__Ú __qualname__rr'Ú __classcell__rr)r%rrs4rN)Z caffe2.pythonrZcaffe2.python.layers.layersrrrrrrÚs