Home
last modified time | relevance | path

Searched refs:class_num (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dgrow_stats.h200 virtual float left_count(int split, int class_num) const = 0;
201 virtual float right_count(int split, int class_num) const = 0;
342 float left_count(int split, int class_num) const override { in left_count() argument
343 return left_counts_[split * num_outputs_ + class_num]; in left_count()
345 float right_count(int split, int class_num) const override { in right_count() argument
346 return total_counts_[class_num] - in right_count()
347 left_counts_[split * num_outputs_ + class_num]; in right_count()
351 inline float& mutable_left_count(int split, int class_num) { in mutable_left_count() argument
352 return left_counts_[split * num_outputs_ + class_num]; in mutable_left_count()
405 float left_count(int split, int class_num) const override { in left_count() argument
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Ddirichlet_multinomial_test.py194 for class_num in range(3):
196 counts[class_num] = 1
201 self.assertAllClose(mean[class_num], pmf)
212 for class_num in range(3):
214 counts_one[class_num] = 1.
216 counts_two[class_num] = 2
224 self.assertAllClose(mean2[class_num], 2 * mean1[class_num])
/external/tcpdump/
Dprint-lmp.c218 uint8_t class_num; member
495 lmp_obj_header->class_num), in lmp_print()
496 lmp_obj_header->class_num, in lmp_print()
499 ((lmp_obj_header->class_num)<<8)+lmp_obj_ctype), in lmp_print()
520 switch(lmp_obj_header->class_num) { in lmp_print()
Dprint-rsvp.c73 uint8_t class_num; member
704 rsvp_obj_header->class_num), in rsvp_obj_print()
705 rsvp_obj_header->class_num, in rsvp_obj_print()
706 ((rsvp_obj_header->class_num) & 0x80) ? "ignore" : "reject")); in rsvp_obj_print()
708 if (rsvp_obj_header->class_num > 128) in rsvp_obj_print()
710 ((rsvp_obj_header->class_num) & 0x40) ? "and forward" : "silently")); in rsvp_obj_print()
715 ((rsvp_obj_header->class_num)<<8)+rsvp_obj_ctype), in rsvp_obj_print()
732 switch(rsvp_obj_header->class_num) { in rsvp_obj_print()
Dprint-icmp.c300 uint8_t class_num; member
642 obj_class_num = icmp_mpls_ext_object_header->class_num; in icmp_print()