Home
last modified time | relevance | path

Searched refs:input_mask (Results 1 – 25 of 102) sorted by relevance

12345

/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dshape_output_test.py57 input_mask=[[False, True, True, True]],
88 input_mask=[[False, True, True, True]],
117 input_mask=[[False, True, True, True]],
149 input_mask=[[False, True, True, True]],
183 input_mask=[[False, True, True, True], [False, True]],
221 input_mask=[[True], []],
Dtrt_mode_test.py103 input_mask=[[True, True, True]],
127 input_mask=[[False, False, False]],
Dbatch_matmul_test.py40 input_mask=[[True] * len(s) for s in input_shapes],
Dtf_trt_integration_test_base.py200 input_mask = [[False] + [True] * (len(shape) - 1) for shape in input_shapes]
205 output_shapes, input_mask, output_mask, [],
209 input_mask, output_mask, extra_inputs, extra_outputs): argument
243 assert len(input_mask) == len(input_shapes), (
261 for i, (shape, mask) in enumerate(zip(input_shapes, input_mask))
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_shape_optimization_profiles.h87 const std::vector<bool>& input_mask) const { in SetDimensions()
91 if (input_mask.size() != n_inputs_tf) { in SetDimensions()
92 return errors::Internal("Incorrect input mask size: ", input_mask.size()); in SetDimensions()
95 for (bool mask_val : input_mask) { in SetDimensions()
107 if (input_mask[i]) { in SetDimensions()
216 void SetInputMask(const std::vector<bool>& input_mask) { in SetInputMask() argument
217 input_mask_ = input_mask; in SetInputMask()
Dtrt_shape_optimization_profiles_test.cc192 std::vector<bool> input_mask(2, true); in TEST_P() local
193 profile.SetInputMask(input_mask); in TEST_P()
/external/tflite-support/tensorflow_lite_support/cc/task/text/qa/
Dbert_question_answerer.cc267 std::vector<int> input_mask; in Preprocess() local
268 input_mask.reserve(kMaxSeqLen); in Preprocess()
269 input_mask.insert(input_mask.end(), tokens.size(), 1); in Preprocess()
273 input_mask.insert(input_mask.end(), zeros_to_pad, 0); in Preprocess()
279 PopulateTensor(input_mask, mask_tensor); in Preprocess()
/external/kernel-headers/original/uapi/linux/
Dinput.h126 struct input_mask { struct
218 #define EVIOCGMASK _IOR('E', 0x92, struct input_mask) /* Get event-masks */
241 #define EVIOCSMASK _IOW('E', 0x93, struct input_mask) /* Set event-masks */
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/
Dbert_nl_classifier.cc110 std::vector<int> input_mask(input_tensor_length, 0); in Preprocess() local
114 input_mask[i] = 1; in Preprocess()
122 PopulateTensor(input_mask, mask_tensor); in Preprocess()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op_test.cc103 std::vector<bool> input_mask = {true}; local
104 profile.SetInputMask(input_mask);
Dtrt_engine_resource_ops_test.cc166 std::vector<bool> input_mask(n_input, true); in CreateTRTEngine() local
167 profile.SetInputMask(input_mask); in CreateTRTEngine()
/external/vulkan-validation-layers/tests/
Dvktestbinding.h426 …VkBufferMemoryBarrier buffer_memory_barrier(VkFlags output_mask, VkFlags input_mask, VkDeviceSize … in buffer_memory_barrier() argument
432 barrier.dstAccessMask = input_mask; in buffer_memory_barrier()
505 …VkImageMemoryBarrier image_memory_barrier(VkFlags output_mask, VkFlags input_mask, VkImageLayout o…
512 barrier.dstAccessMask = input_mask;
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.metrics.-one-hot-io-u.pbtxt42 name: "input_mask"
Dtensorflow.metrics.-precision-at-recall.pbtxt41 name: "input_mask"
Dtensorflow.metrics.-binary-io-u.pbtxt42 name: "input_mask"
Dtensorflow.metrics.-metric.pbtxt39 name: "input_mask"
Dtensorflow.metrics.-squared-hinge.pbtxt43 name: "input_mask"
Dtensorflow.metrics.-binary-crossentropy.pbtxt43 name: "input_mask"
Dtensorflow.metrics.-hinge.pbtxt43 name: "input_mask"
Dtensorflow.metrics.-sum.pbtxt41 name: "input_mask"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.-average-pooling1-d.pbtxt47 name: "input_mask"
Dtensorflow.layers.-average-pooling3-d.pbtxt47 name: "input_mask"
Dtensorflow.layers.-max-pooling1-d.pbtxt47 name: "input_mask"
Dtensorflow.layers.-dropout.pbtxt47 name: "input_mask"
Dtensorflow.layers.-flatten.pbtxt46 name: "input_mask"

12345