diff --git a/index.bs b/index.bs
index cd6882be..ed42b607 100644
--- a/index.bs
+++ b/index.bs
@@ -1422,9 +1422,9 @@ The {{MLOpSupportLimits}} has the following top level members, aside from these,
dictionary MLOpSupportLimits {
MLInputOperandLayout preferredInputLayout;
[EnforceRange] unsigned long long maxTensorByteLength;
- MLDataTypeLimits input;
- MLDataTypeLimits constant;
- MLDataTypeLimits output;
+ MLTensorLimits input;
+ MLTensorLimits constant;
+ MLTensorLimits output;
};
@@ -1440,18 +1440,6 @@ dictionary MLOpSupportLimits {
: output
:: Support limits for output {{MLOperand}}s for an {{MLGraph}}.
-#### {{MLDataTypeLimits}} dictionary #### {#api-mlcontext-datatypelimits-dictionary}
-
-
- : dataTypes
- :: Supported data types.
-
#### {{MLRankRange}} dictionary #### {#api-mlcontext-rankrange-dictionary}
@@ -1496,14 +1486,14 @@ dictionary MLBinarySupportLimits {
: b
:: {{MLTensorLimits}} for b operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
#### {{MLSingleInputSupportLimits}} dictionary #### {#api-mlcontext-singleinputsupportlimits-dictionary}
@@ -1511,7 +1501,7 @@ dictionary MLSingleInputSupportLimits {
: input
:: {{MLTensorLimits}} for input operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
### {{MLContext/destroy()}} ### {#api-mlcontext-destroy}
@@ -1755,7 +1745,7 @@ Since the {{MLOperand/[[builder]]}} object is bound by the {{MLGraphBuilder/cons
If an operation supports only a subset of {{MLOperandDataType}}s, the allowed data types for each of the operation's input operands, including both positional arguments and options, are given as either an explicit list of {{MLOperandDataType}}s, or a constraint that the operand's [=MLOperand/dataType=] must be the same as the [=MLOperand/dataType=] of another input operand, or any to allow any {{MLOperandDataType}}.
-Implementations may support fewer data types for operands than specified. This can be queried for each operation using the {{MLContext/opSupportLimits()}} method on {{MLContext}} and inspecting the {{MLDataTypeLimits/dataTypes}} value of the corresponding member for the operation.
+Implementations may support fewer data types for operands than specified. This can be queried for each operation using the {{MLContext/opSupportLimits()}} method on {{MLContext}} and inspecting the {{MLTensorLimits/dataTypes}} value of the corresponding member for the operation.
Issue: Should we specify the subset of data types that must be supported for each operator?
@@ -2321,7 +2311,7 @@ dictionary MLBatchNormalizationSupportLimits {
MLTensorLimits variance;
MLTensorLimits scale;
MLTensorLimits bias;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -2722,7 +2712,7 @@ partial interface MLGraphBuilder {
dictionary MLConcatSupportLimits {
MLTensorLimits inputs;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -2768,7 +2758,7 @@ partial dictionary MLOpSupportLimits {
: inputs
:: {{MLTensorLimits}} for all input operands.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/concat()}}:
@@ -2840,7 +2830,7 @@ dictionary MLConv2dSupportLimits {
MLTensorLimits input;
MLTensorLimits filter;
MLTensorLimits bias;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -2947,7 +2937,7 @@ partial dictionary MLOpSupportLimits {
: bias
:: {{MLTensorLimits}} for bias operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/conv2d()}}:
@@ -3568,7 +3558,7 @@ partial interface MLGraphBuilder {
dictionary MLLogicalNotSupportLimits {
MLTensorLimits a;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -3628,7 +3618,7 @@ partial dictionary MLOpSupportLimits {
: a
:: {{MLTensorLimits}} for a operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following members for element-wise logical operations:
@@ -4083,7 +4073,7 @@ dictionary MLQuantizeDequantizeLinearSupportLimits {
MLTensorLimits input;
MLTensorLimits scale;
MLTensorLimits zeroPoint;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -4141,7 +4131,7 @@ partial dictionary MLOpSupportLimits {
: zeroPoint
:: {{MLTensorLimits}} for zeroPoint operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/dequantizeLinear()}}:
@@ -4540,7 +4530,7 @@ partial interface MLGraphBuilder {
dictionary MLGatherSupportLimits {
MLTensorLimits input;
MLTensorLimits indices;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -4601,7 +4591,7 @@ partial dictionary MLOpSupportLimits {
: indices
:: {{MLTensorLimits}} for indices operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following members for {{MLGraphBuilder/gather()}}:
@@ -5168,7 +5158,7 @@ dictionary MLGemmSupportLimits {
MLTensorLimits a;
MLTensorLimits b;
MLTensorLimits c;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -5248,7 +5238,7 @@ partial dictionary MLOpSupportLimits {
: c
:: {{MLTensorLimits}} for c operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/gemm()}}:
@@ -5359,7 +5349,7 @@ dictionary MLGruSupportLimits {
MLTensorLimits bias;
MLTensorLimits recurrentBias;
MLTensorLimits initialHiddenState;
- MLDataTypeLimits outputs;
+ MLTensorLimits outputs;
};
partial dictionary MLOpSupportLimits {
@@ -5481,7 +5471,7 @@ partial dictionary MLOpSupportLimits {
: initialHiddenState
:: {{MLTensorLimits}} for initialHiddenState operand.
: outputs
- :: {{MLDataTypeLimits}} for all the output operands.
+ :: {{MLTensorLimits}} for all the output operands.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/gru()}}:
@@ -5700,7 +5690,7 @@ dictionary MLGruCellSupportLimits {
MLTensorLimits hiddenState;
MLTensorLimits bias;
MLTensorLimits recurrentBias;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -5799,7 +5789,7 @@ partial dictionary MLOpSupportLimits {
: recurrentBias
:: {{MLTensorLimits}} for recurrentBias operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/gruCell()}}:
@@ -6159,7 +6149,7 @@ dictionary MLNormalizationSupportLimits {
MLTensorLimits input;
MLTensorLimits scale;
MLTensorLimits bias;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -6235,7 +6225,7 @@ partial dictionary MLOpSupportLimits {
: bias
:: {{MLTensorLimits}} for bias operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/instanceNormalization()}}:
@@ -6680,7 +6670,7 @@ dictionary MLLstmSupportLimits {
MLTensorLimits peepholeWeight;
MLTensorLimits initialHiddenState;
MLTensorLimits initialCellState;
- MLDataTypeLimits outputs;
+ MLTensorLimits outputs;
};
partial dictionary MLOpSupportLimits {
@@ -6825,7 +6815,7 @@ partial dictionary MLOpSupportLimits {
: initialCellState
:: {{MLTensorLimits}} for initialCellState operand.
: outputs
- :: {{MLDataTypeLimits}} for all the output operands.
+ :: {{MLTensorLimits}} for all the output operands.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/lstm()}}:
@@ -7089,7 +7079,7 @@ dictionary MLLstmCellSupportLimits {
MLTensorLimits bias;
MLTensorLimits recurrentBias;
MLTensorLimits peepholeWeight;
- MLDataTypeLimits outputs;
+ MLTensorLimits outputs;
};
partial dictionary MLOpSupportLimits {
@@ -7213,7 +7203,7 @@ partial dictionary MLOpSupportLimits {
: peepholeWeight
:: {{MLTensorLimits}} for peepholeWeight operand.
: outputs
- :: {{MLDataTypeLimits}} for all the output operands.
+ :: {{MLTensorLimits}} for all the output operands.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/lstmCell()}}:
@@ -7894,7 +7884,7 @@ partial interface MLGraphBuilder {
dictionary MLPreluSupportLimits {
MLTensorLimits input;
MLTensorLimits slope;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -7944,7 +7934,7 @@ partial dictionary MLOpSupportLimits {
: slope
:: {{MLTensorLimits}} for slope operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/prelu()}}:
@@ -8675,7 +8665,7 @@ dictionary MLScatterSupportLimits {
MLTensorLimits input;
MLTensorLimits indices;
MLTensorLimits updates;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -8740,7 +8730,7 @@ partial dictionary MLOpSupportLimits {
: updates
:: {{MLTensorLimits}} for updates operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following members for {{MLGraphBuilder/scatterElements()}}:
@@ -9547,7 +9537,7 @@ partial interface MLGraphBuilder {
dictionary MLSplitSupportLimits {
MLTensorLimits input;
- MLDataTypeLimits outputs;
+ MLTensorLimits outputs;
};
partial dictionary MLOpSupportLimits {
@@ -9597,7 +9587,7 @@ partial dictionary MLOpSupportLimits {
: input
:: {{MLTensorLimits}} for input operand.
: outputs
- :: {{MLDataTypeLimits}} for all the output operands.
+ :: {{MLTensorLimits}} for all the output operands.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/split()}}:
@@ -10063,7 +10053,7 @@ dictionary MLWhereSupportLimits {
MLTensorLimits condition;
MLTensorLimits trueValue;
MLTensorLimits falseValue;
- MLDataTypeLimits output;
+ MLTensorLimits output;
};
partial dictionary MLOpSupportLimits {
@@ -10121,7 +10111,7 @@ partial dictionary MLOpSupportLimits {
: falseValue
:: {{MLTensorLimits}} for falseValue operand.
: output
- :: {{MLDataTypeLimits}} for output operand.
+ :: {{MLTensorLimits}} for output operand.
{{MLOpSupportLimits}} has the following member for {{MLGraphBuilder/where()}}: