MCPcopy Index your code
hub / github.com/nywang16/Pixel2Mesh / dot

Function dot

p2m/layers.py:71–77  ·  view source on GitHub ↗

Wrapper for tf.matmul (sparse vs dense).

(x, y, sparse=False)

Source from the content-addressed store, hash-verified

69
70
71def dot(x, y, sparse=False):
72 """Wrapper for tf.matmul (sparse vs dense)."""
73 if sparse:
74 res = tf.sparse_tensor_dense_matmul(x, y)
75 else:
76 res = tf.matmul(x, y)
77 return res
78
79
80class Layer(object):

Callers 1

_callMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected