Skip to content

Commit 1a62163

Browse files
committed
Complex moved into tf.math
1 parent f9409ed commit 1a62163

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

src/TensorFlowNET.Core/APIs/tf.complex.cs

-26
This file was deleted.

src/TensorFlowNET.Core/APIs/tf.math.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*****************************************************************************
2-
Copyright 2018 The TensorFlow.NET Authors. All Rights Reserved.
2+
Copyright 2023 The TensorFlow.NET Authors. All Rights Reserved.
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -595,5 +595,7 @@ public Tensor square(Tensor x, string name = null)
595595
=> gen_math_ops.square(x, name: name);
596596
public Tensor squared_difference(Tensor x, Tensor y, string name = null)
597597
=> gen_math_ops.squared_difference(x: x, y: y, name: name);
598+
public Tensor complex(Tensor real, Tensor imag, Tensorflow.TF_DataType? dtype = null,
599+
string name = null) => gen_ops.complex(real, imag, dtype, name);
598600
}
599601
}

0 commit comments

Comments
 (0)