Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 27c2f21

Browse files
authored
Rename Raw -> _Raw to fix warning. (#547)
1 parent 00f0398 commit 27c2f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TensorFlow/Initializers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ public extension Tensor where Scalar: TensorFlowFloatingPoint {
446446
standardDeviation: Tensor<Scalar> = Tensor<Scalar>(1),
447447
seed: TensorFlowSeed = TensorFlow.Context.local.randomSeed
448448
) {
449-
let sample: Tensor<Scalar> = Raw.statelessTruncatedNormal(
449+
let sample: Tensor<Scalar> = _Raw.statelessTruncatedNormal(
450450
shape: Tensor<Int32>((0..<shape.rank).map { Int32(shape[$0]) }),
451451
seed: Tensor<Int32>([seed.graph, seed.op]))
452452
self = standardDeviation * sample + mean

0 commit comments

Comments
 (0)