GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: declare some field of ValidationPack as internal · MSavameri/TensorFlow.NET@d453fb6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/TensorFlowNET.Core/Util
    • Data.cs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/TensorFlowNET.Core/Util/Data.cs‎

Copy file name to clipboardExpand all lines: src/TensorFlowNET.Core/Util/Data.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ namespace Tensorflow.Util
99
/// </summary>
1010
public class ValidationDataPack
1111
{
12-
public OneOf<NDArray, NDArray[]> val_x;
13-
public NDArray val_y;
14-
public NDArray val_sample_weight = null;
12+
internal OneOf<NDArray, NDArray[]> val_x;
13+
internal NDArray val_y;
14+
internal NDArray val_sample_weight = null;
1515
public bool val_x_is_array = false;
1616
public ValidationDataPack((NDArray, NDArray) validation_data)
1717
{
@@ -33,7 +33,7 @@ public ValidationDataPack((IEnumerable<NDArray>, NDArray) validation_data)
3333
val_x_is_array = true;
3434
}
3535

36-
public ValidationDataPack((IEnumerable<NDArray>, NDArray, NDArray) validation_data)
36+
internal ValidationDataPack((IEnumerable<NDArray>, NDArray, NDArray) validation_data)
3737
{
3838
this.val_x = validation_data.Item1.ToArray();
3939
this.val_y = validation_data.Item2;

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.