MCPcopy
hub / github.com/WangYueFt/dgcnn / write

Method write

tensorflow/utils/plyfile.py:291–304  ·  view source on GitHub ↗

Write PLY data to a writeable file-like object or filename.

(self, stream)

Source from the content-addressed store, hash-verified

289 return data
290
291 def write(self, stream):
292 '''
293 Write PLY data to a writeable file-like object or filename.
294
295 '''
296 (must_close, stream) = _open_stream(stream, 'write')
297 try:
298 stream.write(self.header.encode('ascii'))
299 stream.write(b'\r\n')
300 for elt in self:
301 elt._write(stream, self.text, self.byte_order)
302 finally:
303 if must_close:
304 stream.close()
305
306 @property
307 def header(self):

Callers 15

export_plyFunction · 0.95
train.pyFile · 0.80
log_stringFunction · 0.80
evaluate.pyFile · 0.80
log_stringFunction · 0.80
eval_one_epochFunction · 0.80
train.pyFile · 0.80
log_stringFunction · 0.80
batch_inference.pyFile · 0.80
log_stringFunction · 0.80
evaluateFunction · 0.80
eval_one_epochFunction · 0.80

Calls 3

_open_streamFunction · 0.85
_writeMethod · 0.80
closeMethod · 0.80

Tested by 4

printoutFunction · 0.64
output_color_point_cloudFunction · 0.64
predictFunction · 0.64