Home
last modified time | relevance | path

Searched refs:weight_index (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker.cc109 int WeightedPicker::PickAt(int32_t weight_index) const { in PickAt()
110 if (weight_index < 0 || weight_index >= total_weight()) return -1; in PickAt()
112 int32_t position = weight_index; in PickAt()
Dweighted_picker_test.cc226 int weight_index = 0; in TestPickAt() local
229 int pick = picker.PickAt(weight_index); in TestPickAt()
231 ++weight_index; in TestPickAt()
234 EXPECT_EQ(weight_index, picker.total_weight()); in TestPickAt()
Dweighted_picker.h57 int PickAt(int32_t weight_index) const;
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank_util.c194 const int weight_index = weight_start + frequency_offset + j; in FilterbankPopulateState() local
195 QuantizeFilterbankWeights(weight, state->weights + weight_index, in FilterbankPopulateState()
196 state->unweights + weight_index); in FilterbankPopulateState()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv.cc327 std::string weight_index = "ky"; in GenerateCode() local
329 weight_index = in GenerateCode()
332 weight_value = "weights_cache[" + weight_index + " * " + in GenerateCode()
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer_v1.py1285 weight_index = 0
1290 tensors = weights[weight_index:weight_index + num_tensors]
1292 weight_index += num_tensors
1294 weight = weights[weight_index]
1302 weight_index += 1
Dbase_layer.py1783 weight_index = 0
1788 tensors = weights[weight_index:weight_index + num_tensors]
1790 weight_index += num_tensors
1792 weight = weights[weight_index]
1800 weight_index += 1