@@ -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 {
@@ -936,12 +932,10 @@ public extension Tensor {
936932 ///
937933 /// - Parameters:
938934 /// - shape: An array of integers representing the desired shape.
939- /// - strides: An array of integers representing the desired strides.
940935 /// - shapeDynamism: A value specifying whether the shape is static or dynamic.
941936 /// - Returns: A new `Tensor` instance filled with ones.
942937 static func ones(
943938 shape: [ Int ] ,
944- strides: [ Int ] = [ ] ,
945939 shapeDynamism: ShapeDynamism = . dynamicBound
946940 ) -> Tensor < T > {
947941 Tensor < T > ( AnyTensor . ones (
@@ -973,12 +967,10 @@ public extension Tensor {
973967 ///
974968 /// - Parameters:
975969 /// - shape: An array of integers representing the desired shape.
976- /// - strides: An array of integers representing the desired strides.
977970 /// - shapeDynamism: A value specifying whether the shape is static or dynamic.
978971 /// - Returns: A new `Tensor` instance filled with zeros.
979972 static func zeros(
980973 shape: [ Int ] ,
981- strides: [ Int ] = [ ] ,
982974 shapeDynamism: ShapeDynamism = . dynamicBound
983975 ) -> Tensor < T > {
984976 Tensor < T > ( AnyTensor . zeros (
0 commit comments