Home
last modified time | relevance | path

Searched refs:input_start (Results 1 – 25 of 41) sorted by relevance

12

/external/brotli/java/org/brotli/wrapper/dec/
Ddecoder_jni.cc18 uint8_t* input_start; member
59 handle->input_start = nullptr; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
64 handle->input_start = new (std::nothrow) uint8_t[input_size]; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
65 ok = !!handle->input_start; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
79 if (!!handle->input_start) delete[] handle->input_start; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
89 return env->NewDirectByteBuffer(handle->input_start, input_size); in Java_org_brotli_wrapper_dec_DecoderJNI_nativeCreate()
126 const uint8_t* in = handle->input_start + handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
196 delete[] handle->input_start; in Java_org_brotli_wrapper_dec_DecoderJNI_nativeDestroy()
/external/brotli/java/org/brotli/wrapper/enc/
Dencoder_jni.cc18 uint8_t* input_start; member
58 handle->input_start = nullptr; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate()
63 handle->input_start = new (std::nothrow) uint8_t[input_size]; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate()
64 ok = !!handle->input_start; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate()
89 if (!!handle->input_start) delete[] handle->input_start; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate()
99 return env->NewDirectByteBuffer(handle->input_start, input_size); in Java_org_brotli_wrapper_enc_EncoderJNI_nativeCreate()
138 const uint8_t* in = handle->input_start + handle->input_offset; in Java_org_brotli_wrapper_enc_EncoderJNI_nativePush()
189 delete[] handle->input_start; in Java_org_brotli_wrapper_enc_EncoderJNI_nativeDestroy()
/external/tensorflow/tensorflow/core/kernels/
Dsparse_slice_op.cc37 const Tensor& input_start, const Tensor& input_size, in operator ()()
51 const gtl::ArraySlice<int64_t> start(input_start.flat<int64_t>().data(), in operator ()()
97 const Tensor& input_start = context->input(3); in SparseSliceOpImpl() local
115 OP_REQUIRES_ASYNC(context, TensorShapeUtils::IsVector(input_start.shape()), in SparseSliceOpImpl()
118 input_start.shape().DebugString()), in SparseSliceOpImpl()
127 OP_REQUIRES_ASYNC(context, input_dims == input_start.NumElements(), in SparseSliceOpImpl()
130 " but got length ", input_start.NumElements()), in SparseSliceOpImpl()
140 input_shape, input_start, input_size, in SparseSliceOpImpl()
Dspectrogram.cc110 int input_start = 0; in ComputeComplexSpectrogram() local
111 while (GetNextWindowOfSamples(input, &input_start)) { in ComputeComplexSpectrogram()
151 int input_start = 0; in ComputeSquaredMagnitudeSpectrogram() local
152 while (GetNextWindowOfSamples(input, &input_start)) { in ComputeSquaredMagnitudeSpectrogram()
185 int* input_start) { in GetNextWindowOfSamples() argument
186 auto input_it = input.begin() + *input_start; in GetNextWindowOfSamples()
191 *input_start += input_remaining; // Increases it to input.size(). in GetNextWindowOfSamples()
199 *input_start += samples_to_next_step_; in GetNextWindowOfSamples()
Dsparse_slice_grad_op.cc80 const Tensor *backprop_val_grad, *input_indices, *output_indices, *input_start; in Compute() local
83 OP_REQUIRES_OK(ctx, ctx->input("input_start", &input_start)); in Compute()
117 OP_REQUIRES(ctx, TensorShapeUtils::IsVector(input_start->shape()), in Compute()
120 input_start->shape().DebugString())); in Compute()
123 OP_REQUIRES(ctx, num_dims == input_start->NumElements(), in Compute()
126 " but got length ", input_start->NumElements())); in Compute()
138 input_start->flat<int64_t>(), output_indices->matrix<int64_t>(), in Compute()
Dsparse_slice_op_gpu.cu.cc64 const int64_t* __restrict__ input_start = in operator ()() local
70 int64_t slice_start = input_start[dim]; in operator ()()
95 const int64_t* __restrict__ input_start = in SparseSliceGatherKernel() local
102 input_indices[input_nz * dims + dim] - input_start[dim]; in SparseSliceGatherKernel()
115 const Tensor& input_start, const Tensor& input_size, in operator ()()
135 int64_t slice_start = input_start.vec<int64_t>()(dim); in operator ()()
Dsparse_slice_grad_op_gpu.cu.cc40 const int64_t* input_start) in MultiIndexComparator()
41 : rank_(rank), indices_(indices), input_start_(input_start) {} in MultiIndexComparator()
76 const int64_t* input_start) in MultiIndexSearchFunctor()
77 : rank_(rank), indices_(indices), input_start_(input_start) {} in MultiIndexSearchFunctor()
Dnth_element_op.cc105 const T* input_start = input + b * last_dim; in operator ()() local
107 std::copy(input_start, input_end, buf.begin()); in operator ()()
Dsparse_slice_op.h31 const Tensor& input_start, const Tensor& input_size,
Dspectrogram.h102 int* input_start);
/external/tensorflow/tensorflow/lite/kernels/internal/
Dspectrogram.cc125 int input_start = 0; in ComputeComplexSpectrogram() local
126 while (GetNextWindowOfSamples(input, &input_start)) { in ComputeComplexSpectrogram()
166 int input_start = 0; in ComputeSquaredMagnitudeSpectrogram() local
167 while (GetNextWindowOfSamples(input, &input_start)) { in ComputeSquaredMagnitudeSpectrogram()
200 int* input_start) { in GetNextWindowOfSamples() argument
201 auto input_it = input.begin() + *input_start; in GetNextWindowOfSamples()
206 *input_start += input_remaining; // Increases it to input.size(). in GetNextWindowOfSamples()
214 *input_start += samples_to_next_step_; in GetNextWindowOfSamples()
Dspectrogram.h88 int* input_start);
/external/libchrome/base/i18n/
Dstreaming_utf8_validator_perftest.cc119 std::string ConstructRangedTestString(const std::string& input_start, in ConstructRangedTestString() argument
122 std::string output = input_start; in ConstructRangedTestString()
123 std::string input = input_start; in ConstructRangedTestString()
/external/cronet/base/i18n/
Dstreaming_utf8_validator_perftest.cc118 std::string ConstructRangedTestString(const std::string& input_start, in ConstructRangedTestString() argument
121 std::string output = input_start; in ConstructRangedTestString()
122 std::string input = input_start; in ConstructRangedTestString()
/external/tensorflow/tensorflow/core/common_runtime/
Dpropagator_debug_utils.cc45 const int input_base = node_item.input_start; in DumpPendingNodeState()
77 const int input_base = node_item.input_start; in DumpActiveNodeState()
Dsimple_propagator_state.h130 return input_tensors_.data() + tagged_node.node_item->input_start; in GetInputTensors()
/external/tensorflow/tensorflow/examples/speech_commands/
Dtest_streaming_accuracy.cc250 const float* input_start = &(audio_data[audio_data_offset]); in main() local
251 const float* input_end = input_start + clip_duration_samples; in main()
252 std::copy(input_start, input_end, audio_data_tensor.flat<float>().data()); in main()
Dtest_streaming_accuracy.py140 input_start = audio_data_offset
146 numpy.expand_dims(data[input_start:input_end], axis=-1),
/external/tensorflow/tensorflow/core/util/
Dstrided_slice_op.cc461 size_t input_start = 0; in StridedSliceAssignBCast() local
468 input_start = input_shape.size() - output_shape.size(); in StridedSliceAssignBCast()
469 for (size_t i = 0; i < input_start; ++i) { in StridedSliceAssignBCast()
479 std::copy(input_shape.begin() + input_start, input_shape.end(), in StridedSliceAssignBCast()
/external/tensorflow/tensorflow/dtensor/mlir/expansions/
Dmeta_spmd_expander.cc715 const int input_start = input_segment_start[i]; in ExpandOp() local
723 for (int j = prev_input_segment_end; j < input_start; ++j) in ExpandOp()
731 input_layout->num_shards_for_dim(input_layout->dim(input_start)); in ExpandOp()
740 tgt_input_layout[input_start].set_sharding_spec(Layout::kUnshardedDim); in ExpandOp()
744 tgt_input_layout[input_start] = input_layout->dim(input_start); in ExpandOp()
745 tgt_output_layout[output_start] = input_layout->dim(input_start); in ExpandOp()
750 for (int j = input_start + 1; j < input_segment_end[i]; ++j) in ExpandOp()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DSparseSliceGrad.pbtxt12 name: "input_start"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DSparseSliceGrad.pbtxt12 name: "input_start"
/external/zlib/contrib/bench/
Dzlib_bench.cc274 int input_start = b * block_size; in zlib_file() local
276 input[b] = data + input_start; in zlib_file()
277 input_length[b] = input_limit - input_start; in zlib_file()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseSliceGrad.pbtxt17 name: "input_start"
/external/tensorflow/tensorflow/python/ops/
Dsparse_grad.py131 input_start = op.inputs[3]
135 input_start, output_indices)

12