@@ -240,7 +240,7 @@ public ILayer Conv2DTranspose(int filters,
240
240
string kernel_regularizer = null ,
241
241
string bias_regularizer = null ,
242
242
string activity_regularizer = null )
243
- => new Conv2DTranspose ( new Conv2DArgs
243
+ => new Conv2DTranspose ( new Conv2DTransposeArgs
244
244
{
245
245
Rank = 2 ,
246
246
Filters = filters ,
@@ -568,7 +568,7 @@ public ILayer MaxPooling1D(int? pool_size = null,
568
568
int ? strides = null ,
569
569
string padding = "valid" ,
570
570
string data_format = null )
571
- => new MaxPooling1D ( new Pooling1DArgs
571
+ => new MaxPooling1D ( new MaxPooling1DArgs
572
572
{
573
573
PoolSize = pool_size ?? 2 ,
574
574
Strides = strides ?? ( pool_size ?? 2 ) ,
@@ -944,21 +944,21 @@ public ILayer Rescaling(float scale,
944
944
/// </summary>
945
945
/// <returns></returns>
946
946
public ILayer Add ( )
947
- => new Add ( new MergeArgs { } ) ;
947
+ => new Add ( new AddArgs { } ) ;
948
948
949
949
/// <summary>
950
950
///
951
951
/// </summary>
952
952
/// <returns></returns>
953
953
public ILayer Subtract ( )
954
- => new Subtract ( new MergeArgs { } ) ;
954
+ => new Subtract ( new SubtractArgs { } ) ;
955
955
956
956
/// <summary>
957
957
/// Global max pooling operation for spatial data.
958
958
/// </summary>
959
959
/// <returns></returns>
960
960
public ILayer GlobalAveragePooling2D ( )
961
- => new GlobalAveragePooling2D ( new Pooling2DArgs { } ) ;
961
+ => new GlobalAveragePooling2D ( new GlobalAveragePooling2DArgs { } ) ;
962
962
963
963
/// <summary>
964
964
/// Global average pooling operation for temporal data.
@@ -968,7 +968,7 @@ public ILayer GlobalAveragePooling2D()
968
968
/// </param>
969
969
/// <returns></returns>
970
970
public ILayer GlobalAveragePooling1D ( string data_format = "channels_last" )
971
- => new GlobalAveragePooling1D ( new Pooling1DArgs { DataFormat = data_format } ) ;
971
+ => new GlobalAveragePooling1D ( new GlobalAveragePooling1DArgs { DataFormat = data_format } ) ;
972
972
973
973
/// <summary>
974
974
/// Global max pooling operation for spatial data.
@@ -977,7 +977,7 @@ public ILayer GlobalAveragePooling1D(string data_format = "channels_last")
977
977
/// channels_last corresponds to inputs with shape (batch, height, width, channels) while channels_first corresponds to inputs with shape (batch, channels, height, width).</param>
978
978
/// <returns></returns>
979
979
public ILayer GlobalAveragePooling2D ( string data_format = "channels_last" )
980
- => new GlobalAveragePooling2D ( new Pooling2DArgs { DataFormat = data_format } ) ;
980
+ => new GlobalAveragePooling2D ( new GlobalAveragePooling2DArgs { DataFormat = data_format } ) ;
981
981
982
982
/// <summary>
983
983
/// Global max pooling operation for 1D temporal data.
@@ -988,7 +988,7 @@ public ILayer GlobalAveragePooling2D(string data_format = "channels_last")
988
988
/// </param>
989
989
/// <returns></returns>
990
990
public ILayer GlobalMaxPooling1D ( string data_format = "channels_last" )
991
- => new GlobalMaxPooling1D ( new Pooling1DArgs { DataFormat = data_format } ) ;
991
+ => new GlobalMaxPooling1D ( new GlobalMaxPooling1DArgs { DataFormat = data_format } ) ;
992
992
993
993
/// <summary>
994
994
/// Global max pooling operation for spatial data.
@@ -997,7 +997,7 @@ public ILayer GlobalMaxPooling1D(string data_format = "channels_last")
997
997
/// channels_last corresponds to inputs with shape (batch, height, width, channels) while channels_first corresponds to inputs with shape (batch, channels, height, width).</param>
998
998
/// <returns></returns>
999
999
public ILayer GlobalMaxPooling2D ( string data_format = "channels_last" )
1000
- => new GlobalMaxPooling2D ( new Pooling2DArgs { DataFormat = data_format } ) ;
1000
+ => new GlobalMaxPooling2D ( new GlobalMaxPooling2DArgs { DataFormat = data_format } ) ;
1001
1001
1002
1002
/// <summary>
1003
1003
/// Get an weights initializer from its name.
0 commit comments