Searched refs:dot_product (Results 1 – 4 of 4) sorted by relevance
32 float dot_product = 0.0; in LeftProbability() local34 dot_product += w(i) * p(i); in LeftProbability()39 return 1.0 / (1.0 + exp(-dot_product + bias)); in LeftProbability()48 float dot_product = 0.0; in LeftProbabilityK() local52 dot_product += p(feature_set[i]) * w(i); in LeftProbabilityK()57 return 1.0 / (1.0 + exp(-dot_product + bias)); in LeftProbabilityK()
152 float dot_product = 0.0; in Compute() local154 dot_product += tree_parameters(j, k) * data(i, k); in Compute()156 if (dot_product < tree_biases(j)) { in Compute()
38 TF_ASSERT_OK_AND_ASSIGN(XlaComputation dot_product, b.Build()); in XLA_TEST_F()43 client_->Execute(dot_product, {input.get(), input.get()}, in XLA_TEST_F()
7026 dot_product, in TraceStrokePolygon() local7195 dot_product=dx.q*dx.q+dy.q*dy.q; in TraceStrokePolygon()7196 if (dot_product < 0.25) in TraceStrokePolygon()7222 dot_product=dy.q*offset.x-dx.q*offset.y; in TraceStrokePolygon()7223 if (dot_product > 0.0) in TraceStrokePolygon()7260 dot_product=dx.q*dy.p-dx.p*dy.q; in TraceStrokePolygon()7261 if (dot_product <= 0.0) in TraceStrokePolygon()7268 dot_product=(box_q[4].x-box_p[4].x)*(box_q[4].x-box_p[4].x)+ in TraceStrokePolygon()7270 if (dot_product <= miterlimit) in TraceStrokePolygon()7281 dot_product=(box_q[4].x-box_p[4].x)*(box_q[4].x-box_p[4].x)+ in TraceStrokePolygon()[all …]