You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Text;
- using static Tensorflow.Binding;
-
- namespace Tensorflow
- {
- public class ExecuteOpArgs
- {
- public Func<Operation, object> GetGradientAttrs { get; set; }
- public object[] OpInputArgs { get; set; }
- public Dictionary<string, object> OpAttrs { get; set; }
-
- [DebuggerStepThrough]
- public ExecuteOpArgs(params object[] inputArgs)
- {
- OpInputArgs = inputArgs;
- }
-
- [DebuggerStepThrough]
- public ExecuteOpArgs SetAttributes(object attrs)
- {
- OpAttrs = ConvertToDict(attrs);
- return this;
- }
- }
- }
|