MCPcopy Create free account
hub / github.com/HanHan55/Graph2plan / inside_loss

Function inside_loss

Network/model/loss.py:169–193  ·  view source on GitHub ↗

all points on the boundary of boxes are inside fragment_boxes Parameters: ---------- boxes: [B,4], NBoxes with (x0,y0,x1,y1) fragment_boxes: [F,4], NBox wit (x,y)

(boxes,fragment_boxes,step=2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

loss.pyFile · 0.85

Calls 3

sample_boundaryFunction · 0.85
fragment_outside_boxFunction · 0.85
fragment_box_distanceFunction · 0.85

Tested by

no test coverage detected