/external/tensorflow/tensorflow/core/kernels/ |
D | ragged_tensor_to_tensor_op_test.cc | 38 ShapeAndValues<VALUE_TYPE> createVector(const std::vector<VALUE_TYPE>& values) { in createVector() function 80 createVector(shape_as_vector); in BuildRaggedTensorToTensorGraph() 101 createVector<float>({.1, .2, .3, .4, .5, .6, .7, .8, .9}), // values in TEST_F() 103 {createScalar<int32>(4), createVector<int32>({0, 0, 0, 2, 2, 2, 2, 3, 3})} in TEST_F() 123 createVector<float>({.1, .2, .3, .4, .5, .6, .7, .8, .9}), // values in TEST_F() 125 {createVector<int32>({0, 3, 3, 7, 9})} // row_partition_tensors in TEST_F() 150 createVector<float>({.1, .2, .3, .4, .5, .6, .7, .8, .9}), // values in TEST_F() 154 createVector<int32>({0, 1, 1, 3, 3, 4}), in TEST_F() 155 createVector<int32>({1, 1, 2, 3, 3, 4, 4, 4, 5}), in TEST_F() 187 createVector<float>({.1, .2, .3, .4, .5, .6, .7, .8, .9}), // values in TEST_F() [all …]
|
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersVectorsTests.swift | 15 let vectorOffset = b.createVector(ofOffsets: vector) in testCreatingTwoCountries() 23 let o = b.createVector(numbers, size: numbers.count) in testCreateIntArray() 31 let o = b.createVector(numbers, size: numbers.count) in testCreateEmptyIntArray() 39 let o = b.createVector(ofStrings: strs) in testCreateVectorOfStrings() 52 let end = b.createVector(ofOffsets: v) in testCreateSharedStringVector() 96 return b.createVector(array, size: array.count) in createNumbersVector() 100 return b.createVector(array, size: array.count) in createNumbersVector() 104 return b.createVector(array, size: array.count) in createNumbersVector() 108 return b.createVector(array, size: array.count) in createNumbersVector()
|
D | FlatBuffersUnionTests.swift | 13 let weapons = b.createVector(ofOffsets: [weapon]) in testCreateMonstor() 39 let inv = builder.createVector(inventory, size: 10) in testEndTableFinish() 40 let weapons = builder.createVector(ofOffsets: [weaponOne, weaponTwo]) in testEndTableFinish() 44 let path = builder.createVector(structs: vecArray, type: Vec.self) in testEndTableFinish() 63 let off = builder.createVector(vectorOfEnums) in testEnumVector() 89 let types = fb.createVector(characterType) in testUnionVector() 90 let characterVector = fb.createVector(ofOffsets: characters) in testUnionVector()
|
D | FlatBuffersMonsterWriterTests.swift | 67 let inv = fbb.createVector(_inv) in createMonster() 73 let test4 = fbb.createVector(structs: [MyGame.Example.createTest(a: 30, b: 40), in createMonster() 77 let stringTestVector = fbb.createVector(ofOffsets: [test1, test2]) in createMonster()
|
D | FlatBuffersStructsTests.swift | 29 …let path = b.createVector(structs: [createVecWrite(x: 1, y: 2, z: 3), createVecWrite(x: 4.0, y: 5.… in testCreatingVectorStruct() 37 …let path = b.createVector(structs: [createVecWrite(x: 1, y: 2, z: 3), createVecWrite(x: 4.0, y: 5.… in testCreatingVectorStructWithForcedDefaults() 45 …let path = b.createVector(structs: [createVecWrite(x: 1, y: 2, z: 3), createVecWrite(x: 4, y: 5, z… in testCreatingEnums()
|
D | monster_test_generated.swift | 305 return fbb.createVector(ofOffsets: off) in sortVectorOfReferrable() 603 return fbb.createVector(ofOffsets: off) in sortVectorOfMonster()
|
/external/flatbuffers/swift/Sources/FlatBuffers/ |
D | FlatBufferBuilder.swift | 282 public func createVector<T: Scalar>(_ elements: [T]) -> Offset<UOffset> { in createVector<T: Scalar>() 283 return createVector(elements, size: elements.count) in createVector<T: Scalar>() 290 public func createVector<T: Scalar>(_ elements: [T], size: Int) -> Offset<UOffset> { in createVector<T: Scalar>() 300 public func createVector<T: Enum>(_ elements: [T]) -> Offset<UOffset> { in createVector<T: Enum>() 301 return createVector(elements, size: elements.count) in createVector<T: Enum>() 308 public func createVector<T: Enum>(_ elements: [T], size: Int) -> Offset<UOffset> { in createVector<T: Enum>() 320 public func createVector<T>(ofOffsets offsets: [Offset<T>]) -> Offset<UOffset> { in createVector<T>() 321 createVector(ofOffsets: offsets, len: offsets.count) in createVector<T>() 328 public func createVector<T>(ofOffsets offsets: [Offset<T>], len: Int) -> Offset<UOffset> { in createVector<T>() 339 public func createVector(ofStrings str: [String]) -> Offset<UOffset> { in createVector() function [all …]
|
/external/flatbuffers/samples/ |
D | sample_binary.swift | 28 let inventoryOffset = builder.createVector(inventory) in main() 30 let weaponsOffset = builder.createVector(ofOffsets: [sword, axe]) in main()
|
/external/flatbuffers/java/com/google/flatbuffers/ |
D | FlexBuffersBuilder.java | 450 Value vec = createVector(iKey, start, stack.size() - start, typed, fixed, null); in endVector() 493 …private Value createVector(int key, int start, int length, boolean typed, boolean fixed, Value key… in createVector() method in FlexBuffersBuilder 603 Value vec = createVector(iKey, start, stack.size() - start, false, false, keys); in endMap()
|
/external/flatbuffers/docs/source/ |
D | Tutorial.md | 1128 let inventoryOffset = builder.createVector(inventory) 1279 let weaponsOffset = builder.createVector(ofOffsets: [sword, axe]) 1421 let points = builder.createVector(structs: [MyGame.Sample.createVec3(x: 1, y: 2, z: 3),
|