@@ -357,13 +357,11 @@ public extension AnyTensor {
357357 ///
358358 /// - Parameters:
359359 /// - shape: An array of integers representing the desired shape.
360- /// - strides: An array of integers representing the desired strides.
361360 /// - dataType: A `DataType` value specifying the element type.
362361 /// - shapeDynamism: A value specifying whether the shape is static or dynamic.
363362 /// - Returns: A new `AnyTensor` instance filled with ones.
364363 static func ones(
365364 shape: [ Int ] ,
366- strides: [ Int ] = [ ] ,
367365 dataType: DataType ,
368366 shapeDynamism: ShapeDynamism = . dynamicBound
369367 ) -> AnyTensor {
@@ -398,13 +396,11 @@ public extension AnyTensor {
398396 ///
399397 /// - Parameters:
400398 /// - shape: An array of integers representing the desired shape.
401- /// - strides: An array of integers representing the desired strides.
402399 /// - dataType: A `DataType` value specifying the element type.
403400 /// - shapeDynamism: A value specifying whether the shape is static or dynamic.
404401 /// - Returns: A new `AnyTensor` instance filled with zeros.
405402 static func zeros(
406403 shape: [ Int ] ,
407- strides: [ Int ] = [ ] ,
408404 dataType: DataType ,
409405 shapeDynamism: ShapeDynamism = . dynamicBound
410406 ) -> AnyTensor {
@@ -937,12 +933,10 @@ public extension Tensor {
937933 ///
938934 /// - Parameters:
939935 /// - shape: An array of integers representing the desired shape.
940- /// - strides: An array of integers representing the desired strides.
941936 /// - shapeDynamism: A value specifying whether the shape is static or dynamic.
942937 /// - Returns: A new `Tensor` instance filled with ones.
943938 static func ones(
944939 shape: [ Int ] ,
945- strides: [ Int ] = [ ] ,
946940 shapeDynamism: ShapeDynamism = . dynamicBound
947941 ) -> Tensor < T > {
948942 Tensor < T > ( AnyTensor . ones (
@@ -974,12 +968,10 @@ public extension Tensor {
974968 ///
975969 /// - Parameters:
976970 /// - shape: An array of integers representing the desired shape.
977- /// - strides: An array of integers representing the desired strides.
978971 /// - shapeDynamism: A value specifying whether the shape is static or dynamic.
979972 /// - Returns: A new `Tensor` instance filled with zeros.
980973 static func zeros(
981974 shape: [ Int ] ,
982- strides: [ Int ] = [ ] ,
983975 shapeDynamism: ShapeDynamism = . dynamicBound
984976 ) -> Tensor < T > {
985977 Tensor < T > ( AnyTensor . zeros (
0 commit comments