From 381bf18cb406bc763fba5019ac0e01e67196bc9d Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Thu, 24 Oct 2019 13:41:18 -0500 Subject: [PATCH] move TensorArray to Tensors folder --- .../{Operations => Tensors}/TensorArray.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename src/TensorFlowNET.Core/{Operations => Tensors}/TensorArray.cs (94%) diff --git a/src/TensorFlowNET.Core/Operations/TensorArray.cs b/src/TensorFlowNET.Core/Tensors/TensorArray.cs similarity index 94% rename from src/TensorFlowNET.Core/Operations/TensorArray.cs rename to src/TensorFlowNET.Core/Tensors/TensorArray.cs index 60e1bde5..f84072a8 100644 --- a/src/TensorFlowNET.Core/Operations/TensorArray.cs +++ b/src/TensorFlowNET.Core/Tensors/TensorArray.cs @@ -17,8 +17,9 @@ using System; using System.Collections.Generic; using System.Text; +using Tensorflow.Operations; -namespace Tensorflow.Operations +namespace Tensorflow { /// /// TensorArray is designed to hide an underlying implementation object @@ -29,9 +30,9 @@ namespace Tensorflow.Operations /// `while_loop` and `map_fn`. It supports gradient back-propagation via special /// "flow" control flow dependencies. /// - public class TensorArray + public class TensorArray : ITensorOrTensorArray { - _GraphTensorArray _implementation; + internal _GraphTensorArray _implementation; public TF_DataType dtype => _implementation._dtype; public Tensor handle => _implementation._handle;