Home
last modified time | relevance | path

Searched refs:num_weights (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank_io.c39 int num_weights = 0; in FilterbankWriteMemmapPreamble() local
42 num_weights += state->channel_widths[i]; in FilterbankWriteMemmapPreamble()
44 PrintArray(fp, "weights", state->weights, num_weights); in FilterbankWriteMemmapPreamble()
45 PrintArray(fp, "unweights", state->unweights, num_weights); in FilterbankWriteMemmapPreamble()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dtest_utils.h39 const size_t num_weights = weight_->size(); in GetTargetWeight() local
40 return num_weights > 0 && example_index < num_weights in GetTargetWeight()
Dinput_target.h70 const size_t num_weights = weight_->size(); in GetTargetWeight() local
71 return num_weights > 0 && example_index < num_weights in GetTargetWeight()
/external/tensorflow/tensorflow/python/keras/saving/
Dhdf5_format.py347 num_weights = len(sublayer.trainable_weights)
348 if num_weights > 0:
351 weights=weights[:num_weights],
354 weights = weights[num_weights:]
358 num_weights = len([l for l in sublayer.weights
360 if num_weights > 0:
363 weights=weights[:num_weights],
366 weights = weights[num_weights:]
/external/tensorflow/tensorflow/core/kernels/
Dsdca_ops.cc276 int64 num_weights = 0; in Compute() local
278 num_weights += weights_inputs.at(i, /*lock_held=*/true).NumElements(); in Compute()
281 const int64 kCostPerUnit = (num_weights * 50) / weights_inputs.size(); in Compute()
/external/ltp/utils/ffsb-6.0-rc2/
Dffsb_fs.c119 if (fs->num_weights) { in add_files()
586 if (fs->num_weights) { in fs_print_config()
589 for (i = 0; i < fs->num_weights; i++) in fs_print_config()
Dffsb_fs.h114 unsigned num_weights; member
Dparser.c942 fs->num_weights = count; in init_filesys()
944 malloc(sizeof(size_weight_t) * fs->num_weights); in init_filesys()
Dfileops.c432 if (fs->num_weights) { in ffsb_createfile_core()
/external/pdfium/third_party/libpng16/
Dpngwrite.c1119 int num_weights, png_const_doublep filter_weights, in png_set_filter_heuristics() argument
1124 PNG_UNUSED(num_weights) in png_set_filter_heuristics()
1133 int num_weights, png_const_fixed_point_p filter_weights, in png_set_filter_heuristics_fixed() argument
1138 PNG_UNUSED(num_weights) in png_set_filter_heuristics_fixed()
Dpng.h1521 int heuristic_method, int num_weights, png_const_doublep filter_weights,
1524 (png_structrp png_ptr, int heuristic_method, int num_weights,
/external/libpng/
Dpngwrite.c1130 int num_weights, png_const_doublep filter_weights, in png_set_filter_heuristics() argument
1135 PNG_UNUSED(num_weights) in png_set_filter_heuristics()
1144 int num_weights, png_const_fixed_point_p filter_weights, in png_set_filter_heuristics_fixed() argument
1149 PNG_UNUSED(num_weights) in png_set_filter_heuristics_fixed()
Dpng.h1517 int heuristic_method, int num_weights, png_const_doublep filter_weights,
1520 (png_structrp png_ptr, int heuristic_method, int num_weights,
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc1898 const size_t num_weights = TrtDimsNumElements(GetTestDims(weights_dims)); in TestBinaryTensorOpWeightFallback() local
1907 /*values=*/std::vector<CType>(num_weights, CType(1))); in TestBinaryTensorOpWeightFallback()