3 types derived from VariableBinding
Microsoft.ML.Data (3)
EntryPoints\EntryPointNode.cs (3)
1125
:
VariableBinding
1144
:
VariableBinding
1170
:
VariableBinding
33 references to VariableBinding
Microsoft.ML.Data (30)
EntryPoints\EntryPointNode.cs (24)
281
public object GetValueOrNull(
VariableBinding
binding)
290
public void AddInputVariable(
VariableBinding
binding, Type type)
420
private readonly Dictionary<ParameterBinding,
VariableBinding
> _inputMap;
487
_inputMap = new Dictionary<ParameterBinding,
VariableBinding
>();
559
Dictionary<ParameterBinding,
VariableBinding
> inputMap,
604
var inputParamBindingMap = new Dictionary<ParameterBinding,
VariableBinding
>();
625
if (
VariableBinding
.IsBindingToken(pair.Value))
633
var
varBinding =
VariableBinding
.Create(_host, pair.Value.Value<string>());
642
((JArray)pair.Value).Any(tok =>
VariableBinding
.IsBindingToken(tok)))
646
if (!((JArray)pair.Value).All(tok =>
VariableBinding
.IsBindingToken(tok)))
657
var
varBinding =
VariableBinding
.Create(_host, varName.Value<string>());
684
if (!
VariableBinding
.IsBindingToken(pair.Value))
688
var
varBinding =
VariableBinding
.Create(_host, pair.Value.Value<string>());
703
public void RenameInputVariable(string oldName,
VariableBinding
newBinding)
845
public Dictionary<ParameterBinding,
VariableBinding
> InputMap => _inputMap;
933
public
VariableBinding
GetInputVariable(string paramName)
941
VariableBinding
variableBinding;
956
public Tuple<Var<T>,
VariableBinding
> AddNewVariable<T>(string uniqueName, T value)
976
return new Tuple<Var<T>,
VariableBinding
>(new Var<T> { VarName = varBinding.VariableName }, varBinding);
1069
public static
VariableBinding
Create(IExceptionContext ectx, string jsonString)
1195
/// Represents the l-value assignable destination of a <see cref="
VariableBinding
"/>.
EntryPoints\InputBuilder.cs (6)
217
public JObject GetJsonObject(object instance, Dictionary<string, List<ParameterBinding>> inputBindingMap, Dictionary<ParameterBinding,
VariableBinding
> inputMap)
235
VariableBinding
varBinding;
383
new Dictionary<ParameterBinding,
VariableBinding
>()));
423
ectx.Check(
VariableBinding
.IsBindingToken(value), "Variable name expected.");
425
var
varBinding =
VariableBinding
.Create(ectx, varName);
Microsoft.ML.EntryPoints (3)
CrossValidationMacro.cs (1)
181
var
inputData = node.GetInputVariable(nameof(splitArgs.Data));
TrainTestMacro.cs (2)
132
var
trainingVar = node.GetInputVariable(nameof(input.TrainingData));
156
var
testingVar = node.GetInputVariable(nameof(input.TestingData));