/packages/modules/NeuralNetworks/tools/test_generator/ |
D | README.md | 20 For example, 66 For example, 84 The combination of inputs and expected outputs is called an example for a given model. An example i… 101 # Instantiate an example 105 …nstantiated model. You can explicitly specify the target model, and optionally, the example name by 113 You can add variations to the example so that the test generator can automatically create multiple … 155 …ertain axis, such as L2_NORMALIZATION, SOFTMAX, and CHANNEL_SHUFFLE. For example, consider L2_NORM… 167 Consider the same L2_NORMALIZATION example, we can also create a new model with input/output of 2D … 173 … the converter will do transposition first and then remove the axis. For example, the following co… 201 #### Add variation to example [all …]
|
D | spec_visualizer.py | 105 def GetSubgraph(example): argument 119 for op in example.model.operations: 147 for ind, op in enumerate(example.model.operations): 167 for ind, op in enumerate(example.model.operands): 182 def GetConfigurationsInfo(example): argument 184 "relaxed": str(example.model.isRelaxed), 186 "expect failure": str(example.expectFailure), 190 def GetOperandsInfo(example): argument 192 for index, op in enumerate(example.model.operands): 204 def GetOperationsInfo(example): argument [all …]
|
D | example_generator.py | 42 tg.FileNames.InitializeFileLists(args.spec, args.example) 138 def GetModelStruct(example): argument 141 "main": GetSubgraphStruct(example.model), 142 "referenced": [GetSubgraphStruct(model) for model in example.model.GetReferencedModels()], 143 "isRelaxed": example.model.isRelaxed, 145 example.expectedMultinomialDistributionTolerance, 146 "expectFailure": example.expectFailure, 148 example.model.version if example.model.version is not None else "UNKNOWN"), 151 def DumpExample(example, example_fd): argument 152 assert example.model.compiled [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_parameter/ |
D | stdout.txt.expect | 48 // Begin of an example 68 }, // End of an example 69 // Begin of an example 89 }, // End of an example 130 // Begin of an example 150 }, // End of an example 151 // Begin of an example 171 }, // End of an example 212 // Begin of an example 232 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_parameter/ |
D | stdout.txt.expect | 85 // Begin of an example 105 }, // End of an example 106 // Begin of an example 126 }, // End of an example 208 // Begin of an example 228 }, // End of an example 229 // Begin of an example 249 }, // End of an example 331 // Begin of an example 351 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | conv2d_v1_2.mod.py | 41 example = Example({ variable 69 example = Example({ variable 97 example = Example({ variable 131 example = Example({ variable 152 example = Example({ variable 160 example = Example({ variable 178 example = Example({ variable 186 example = Example({ variable 205 example = Example({ variable
|
D | depthwise_conv2d_dilation.mod.py | 35 example = Example({ variable 62 example = Example({ variable 90 example = Example({ variable 117 example = Example({ variable 144 example = Example({ variable
|
D | conv2d_dilation.mod.py | 35 example = Example({ variable 57 example = Example({ variable 86 example = Example({ variable 108 example = Example({ variable 138 example = Example({ variable
|
D | depthwise_conv2d_v1_2.mod.py | 47 example = Example({ variable 80 example = Example({ variable 108 example = Example({ variable 136 example = Example({ variable 164 example = Example({ variable
|
D | space_to_batch_v1_2.mod.py | 32 example = Example({ variable 50 example = Example({ variable 69 example = Example({ variable 89 example = Example({ variable
|
D | cast.mod.py | 56 example = Example({ variable 62 example.AddRelaxed() 93 example = Example({ variable 99 example.AddRelaxed()
|
D | avg_pool_v1_2.mod.py | 31 example = Example({ variable 61 example = Example({ variable 89 example = Example({ variable 117 example = Example({ variable 135 example = Example({ variable
|
D | depth_to_space_v1_2.mod.py | 31 example = Example({ variable 49 example = Example({ variable 67 example = Example({ variable
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | depthwise_conv2d_quant8_signed.mod.py | 35 example = Example({ variable 63 example = Example({ variable 92 example = Example({ variable 120 example = Example({ variable 149 example = Example({ variable 401 example = Example({ variable 435 example = Example({ variable 464 example = Example({ variable 493 example = Example({ variable 523 example = Example({ variable
|
D | if_no_value.mod.py | 44 example = Example({x: x_data, y: y_data, z: y_data}) 45 example.AddVariations("relaxed", "float16", "int32", quant8, quant8_signed) 46 example.DisableLifeTimeVariation() 47 example.AddVariations(AllTensorsAsInputsConverter()) 48 example.ExpectFailure()
|
D | conv2d_quant8_signed.mod.py | 35 example = Example({ variable 57 example = Example({ variable 86 example = Example({ variable 108 example = Example({ variable 138 example = Example({ variable 231 example = Example({ variable 259 example = Example({ variable 287 example = Example({ variable 321 example = Example({ variable 343 example = Example({ variable
|
D | while_infinite_loop.mod.py | 57 example = Example({n: [0.0], i_out: [0.0]}, model=model) variable 58 example.AddVariations("relaxed", "float16", quant8, quant8_signed) 59 example.DisableLifeTimeVariation() 60 example.ExpectFailure()
|
D | space_to_batch_quant8_signed.mod.py | 150 example = Example({ variable 168 example = Example({ variable 187 example = Example({ variable 207 example = Example({ variable
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_variation/ |
D | stdout.txt.expect | 60 // Begin of an example 80 }, // End of an example 135 // Begin of an example 155 }, // End of an example 212 // Begin of an example 232 }, // End of an example 287 // Begin of an example 307 }, // End of an example 364 // Begin of an example 384 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_naming/ |
D | stdout.txt.expect | 60 // Begin of an example 80 }, // End of an example 135 // Begin of an example 155 }, // End of an example 212 // Begin of an example 232 }, // End of an example 287 // Begin of an example 307 }, // End of an example 364 // Begin of an example 384 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_variation/ |
D | stdout.txt.expect | 60 // Begin of an example 80 }, // End of an example 135 // Begin of an example 155 }, // End of an example 212 // Begin of an example 232 }, // End of an example 287 // Begin of an example 307 }, // End of an example 364 // Begin of an example 384 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_variation/ |
D | stdout.txt.expect | 130 // Begin of an example 150 }, // End of an example 278 // Begin of an example 298 }, // End of an example 425 // Begin of an example 445 }, // End of an example 572 // Begin of an example 592 }, // End of an example 720 // Begin of an example 740 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_naming/ |
D | stdout.txt.expect | 130 // Begin of an example 150 }, // End of an example 278 // Begin of an example 298 }, // End of an example 425 // Begin of an example 445 }, // End of an example 572 // Begin of an example 592 }, // End of an example 720 // Begin of an example 740 }, // End of an example [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_implicit_variation/ |
D | stdout.txt.expect | 130 // Begin of an example 150 }, // End of an example 278 // Begin of an example 298 }, // End of an example 425 // Begin of an example 445 }, // End of an example 572 // Begin of an example 592 }, // End of an example 720 // Begin of an example 740 }, // End of an example [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | sax.md | 13 For example, here is a JSON. 53 … event parameters need further explanation. Let's see the `simplereader` example which produces ex… 98 As the previous example showed, user needs to implement a handler, which consumes the events (funct… 132 For example, when we parse a JSON with `Reader` and the handler detected that the JSON does not con… 151 …oding means the encoding of the `str` parameter in `String()` calls. For example, to parse a UTF-8… 182 In `simplewriter` example, we do exactly the reverse of `simplereader`. 224 …n handle string with null characters. Another one is the simpler version used in the above example. 226 Note that, the example code does not pass any parameters in `EndArray()` and `EndObject()`. An `Siz… 288 In the following `messagereader` example, `ParseMessages()` parses a JSON which should be an object… 395 …eader`. `condense` example simply set a `Writer` as handler of a `Reader`, so it can remove all wh… [all …]
|