MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / BroadcastComputation

Function BroadcastComputation

tensorflow/compiler/xrt/tests/raw_api_test.cc:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249xla::XlaComputation BroadcastComputation(
250 const xla::Shape& shape, absl::Span<const xla::int64> dimensions) {
251 xla::XlaBuilder builder("BroadcastComputation");
252 auto p0 = xla::Parameter(&builder, 0, shape, "P0");
253 xla::Broadcast(p0, dimensions);
254 return builder.Build().ValueOrDie();
255}
256
257xla::XlaComputation IsEqualComputation(const xla::Shape& shape) {
258 xla::XlaBuilder builder("IsEqualComputation");

Callers 1

TESTFunction · 0.85

Calls 3

BroadcastFunction · 0.85
ParameterFunction · 0.50
BuildMethod · 0.45

Tested by

no test coverage detected