forked from SciSharp/TensorFlow.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtf.io.cs
More file actions
21 lines (18 loc) · 733 Bytes
/
tf.io.cs
File metadata and controls
21 lines (18 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow.IO;
namespace Tensorflow
{
public static partial class tf
{
public static GFile gfile = new GFile();
public static Tensor read_file(string filename, string name = null) => gen_io_ops.read_file(filename, name);
public static gen_image_ops image => new gen_image_ops();
public static void import_graph_def(GraphDef graph_def,
Dictionary<string, Tensor> input_map = null,
string[] return_elements = null,
string name = null,
OpList producer_op_list = null) => importer.import_graph_def(graph_def, input_map, return_elements, name, producer_op_list);
}
}