82c09890456f2fec708f4201801385924d3b8874,official/vision/beta/modeling/video_classification_model.py,VideoClassificationModel,__init__,#VideoClassificationModel#,26
Before Change
self._kernel_regularizer = kernel_regularizer
self._bias_regularizer = bias_regularizer
self._backbone = backbone
if use_sync_bn:
self._norm = tf.keras.layers.experimental.SyncBatchNormalization
else:
self._norm = tf.keras.layers.BatchNormalization
axis = -1 if tf.keras.backend.image_data_format() == "channels_last" else 1
inputs = tf.keras.Input(shape=input_specs.shape[1:])
endpoints = backbone(inputs)
After Change
endpoints = backbone(inputs)
if aggregate_endpoints:
pooled_feats = []
for endpoint in endpoints.values():
x_pool = tf.keras.layers.GlobalAveragePooling3D()(endpoint)
pooled_feats.append(x_pool)
x = tf.concat(pooled_feats, axis=1)
else:
x = endpoints[max(endpoints.keys())]
x = tf.keras.layers.GlobalAveragePooling3D()(x)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: tensorflow/models
Commit Name: 82c09890456f2fec708f4201801385924d3b8874
Time: 2020-10-23
Author: gardener@tensorflow.org
File Name: official/vision/beta/modeling/video_classification_model.py
Class Name: VideoClassificationModel
Method Name: __init__
Project Name: yangyanli/PointCNN
Commit Name: 9f0eca493539f189c20c9bc5ecd3a353e682c8d7
Time: 2018-04-16
Author: yangyan.lee@gmail.com
File Name: pointcnn.py
Class Name:
Method Name: xconv
Project Name: soft-matter/trackpy
Commit Name: 83d1a46c72c12f8140d5232de59097d894d9d5f7
Time: 2013-01-22
Author: daniel.b.allan@gmail.com
File Name: mr/fitting.py
Class Name:
Method Name: NLS