/external/tensorflow/tensorflow/compiler/xla/client/ |
padding.h | 22 #include "absl/types/span.h" 44 Status ValidatePaddingValues(absl::Span<const int64> input_dimensions, 45 absl::Span<const int64> window_dimensions, 46 absl::Span<const int64> window_strides); 60 absl::Span<const int64> input_dimensions, 61 absl::Span<const int64> window_dimensions, 62 absl::Span<const int64> window_strides, Padding padding);
|
padding.cc | 26 Status ValidatePaddingValues(absl::Span<const int64> input_dimensions, 27 absl::Span<const int64> window_dimensions, 28 absl::Span<const int64> window_strides) { 42 absl::Span<const int64> input_dimensions, 43 absl::Span<const int64> window_dimensions, 44 absl::Span<const int64> window_strides, Padding padding) {
|
xla_builder.h | 27 #include "absl/types/span.h" 330 absl::Span<const int64> broadcast_sizes); 333 const absl::Span<const int64> out_dim_size, 334 const absl::Span<const int64> broadcast_dimensions); 339 XlaOp Reshape(const XlaOp& operand, absl::Span<const int64> dimensions, 340 absl::Span<const int64> new_sizes); 342 XlaOp Reshape(const XlaOp& operand, absl::Span<const int64> new_sizes); 344 XlaOp Collapse(const XlaOp& operand, absl::Span<const int64> dimensions); 346 XlaOp Slice(const XlaOp& operand, absl::Span<const int64> start_indices, 347 absl::Span<const int64> limit_indices [all...] |
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
pooling.h | 28 absl::Span<const int64> spatial_dimensions) 52 XlaOp MaxPool(XlaOp operand, absl::Span<const int64> kernel_size, 53 absl::Span<const int64> stride, Padding padding, 57 XlaOp AvgPool(XlaOp operand, absl::Span<const int64> kernel_size, 58 absl::Span<const int64> stride, 59 absl::Span<const std::pair<int64, int64>> padding, 66 absl::Span<const int64> input_size, absl::Span<const int64> kernel_size, 67 absl::Span<const int64> stride, Padding padding, 71 XlaOp AvgPoolGrad(XlaOp out_backprop, absl::Span<const int64> gradients_size [all...] |
slicing.h | 16 #include "absl/types/span.h" 27 XlaOp UpdateSlice(XlaOp x, XlaOp update, absl::Span<const int64> start); 31 XlaOp SliceInMinorDims(XlaOp x, absl::Span<const int64> start, 32 absl::Span<const int64> end); 37 absl::Span<const int64> start); 40 XlaOp DynamicSliceInMinorDims(XlaOp x, absl::Span<const XlaOp> starts, 41 absl::Span<const int64> sizes); 44 absl::Span<const XlaOp> starts);
|
loops.h | 23 #include "absl/types/span.h" 32 typedef std::function<StatusOr<XlaOp>(absl::Span<const XlaOp>, XlaBuilder*)> 37 typedef std::function<StatusOr<std::vector<XlaOp>>(absl::Span<const XlaOp>, 52 absl::Span<const XlaOp> initial_values, absl::string_view name, 61 XlaOp, absl::Span<const XlaOp>, XlaBuilder*)> 67 absl::Span<const XlaOp> initial_values, absl::string_view name,
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/unsafe/ |
ContextUtils.java | 20 import io.opencensus.trace.Span; 43 public static final Context.Key</*@Nullable*/ Span> CONTEXT_SPAN_KEY = 44 Context.key("opencensus-trace-span-key");
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
array_slice.h | 19 #include "absl/types/span.h" 28 using ArraySlice = absl::Span<const T>; 31 using MutableArraySlice = absl::Span<T>;
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
array_slice.h | 19 #include "absl/types/span.h" 25 using ArraySlice = absl::Span<const T>; 27 using MutableArraySlice = absl::Span<T>;
|
/external/tensorflow/tensorflow/compiler/xla/ |
index_util.h | 23 #include "absl/types/span.h" 39 const Shape& shape, absl::Span<const int64> multi_index); 62 static bool BumpIndices(const Shape& shape, absl::Span<int64> indices); 73 static bool IndexInBounds(const Shape& shape, absl::Span<const int64> index); 79 static int CompareIndices(absl::Span<const int64> lhs, 80 absl::Span<const int64> rhs);
|
/external/swiftshader/src/Device/ |
Primitive.hpp | 66 struct Span 72 // The rasterizer adds a zero length span to the top and bottom of the polygon to allow 74 Span outlineUnderflow[2]; 75 Span outline[OUTLINE_RESOLUTION]; 76 Span outlineOverflow[2];
|
/external/swiftshader/src/Renderer/ |
Primitive.hpp | 66 struct Span 72 // The rasterizer adds a zero length span to the top and bottom of the polygon to allow 74 Span outlineUnderflow[2]; 75 Span outline[OUTLINE_RESOLUTION]; 76 Span outlineOverflow[2];
|
/external/boringssl/src/include/openssl/ |
span.h | 31 class Span; 37 // they can be used with any type that implicitly converts into a Span. 39 "Span<T> must be derived from SpanBase<const T>"); 41 friend bool operator==(Span<T> lhs, Span<T> rhs) { 58 friend bool operator!=(Span<T> lhs, Span<T> rhs) { return !(lhs == rhs); } 62 // A Span<T> is a non-owning reference to a contiguous array of objects of type 63 // |T|. Conceptually, a Span is a simple a pointer to |T| and a count of 64 // elements accessible via that pointer. The elements referenced by the Span ca [all...] |
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
OpenCensusSleuthSpanTest.java | 24 import org.springframework.cloud.sleuth.Span; 31 Span sleuthSpan = 32 Span.builder() 44 Span sleuthSpan = 45 Span.builder() 55 private static final void assertSpanEquals(io.opencensus.trace.Span span, Span sleuthSpan) { 56 assertThat(span.getContext().isValid()).isTrue(); 57 assertThat(Long.parseLong(span.getContext().getTraceId().toLowerBase16().substring(0, 16), 16) [all...] |
OpenCensusSleuthTracerTest.java | 29 import org.springframework.cloud.sleuth.Span; 55 Span root = tracer.createSpan("root"); 58 Span parent = tracer.close(root); 64 Span[] spans = createSpansAndAssertCurrent(3); 68 Span parent = tracer.close(spans[i]); 75 Span[] spans = createSpansAndAssertCurrent(3); 76 // try to close a non-current span 87 Span parent = tracer.detach(null); 93 Span root = tracer.createSpan("root"); 96 Span parent = tracer.detach(root) 119 Span span = tracer.continueSpan(null); local 128 Span span = tracer.continueSpan(root); local [all...] |
/external/opencensus-java/api/src/main/java/io/opencensus/trace/ |
SpanBuilder.java | 27 * {@link SpanBuilder} is used to construct {@link Span} instances which define arbitrary scopes of 37 * // Create a Span as a child of the current Span. 40 * doSomeWork(); // Here the new span is in the current Context, so it can be used 53 * private Span mySpan; 58 * // Create a Span as a child of the remote Span. 66 * serverCallHandler.run(); // Here the new span is in the current Context, so it can be 73 * // IMPORTANT: DO NOT forget to ended the Span here as the work is done. 79 * // IMPORTANT: DO NOT forget to ended the Span here as the work is done 281 final Span span = startSpan(); local 313 final Span span = startSpan(); local [all...] |
Tracer.java | 27 * Tracer is a simple, thin class for {@link Span} creation and in-process context interaction. 57 * void doWork(Span parent) { 58 * Span childSpan = tracer.spanBuilderWithExplicitParent("MyChildSpan", parent).startSpan(); 61 * doSomeWork(childSpan); // Manually propagate the new span down the stack. 63 * // To make sure we end the span even in case of an exception. 64 * childSpan.end(); // Manually end the span. 85 * Gets the current Span from the current Context. 87 * <p>To install a {@link Span} to the current Context use {@link #withSpan(Span)} OR use {@link 88 * SpanBuilder#startScopedSpan} methods to start a new {@code Span} [all...] |
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
util.h | 19 #include "absl/types/span.h" 34 absl::Span<const xla::XlaOp> starts); 42 std::vector<int64> ConcatVectors(absl::Span<const int64> xs, 43 absl::Span<const int64> ys);
|
broadcast.h | 19 #include "absl/types/span.h" 28 absl::Span<int64 const> output_dims);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_creation_utils.h | 51 absl::Span<const int64> start_indices, 52 absl::Span<const int64> limit_indices, 53 absl::Span<const int64> strides); 65 absl::Span<const int64> dimensions); 73 absl::Span<const int64> result_shape_dim_bounds, HloInstruction* operand); 80 absl::Span<const int64> slice_sizes); 92 absl::Span<const int64> broadcast_dimensions, 93 absl::Span<const int64> result_shape_bounds); 104 absl::Span<HloInstruction* const> operands, int64 dimension); 114 StatusOr<HloInstruction*> MakeMapHlo(absl::Span<HloInstruction* const> operands [all...] |
tuple_util.h | 41 absl::Span<HloInstruction* const> trailing_values);
|
shape_inference.h | 24 #include "absl/types/span.h" 58 absl::Span<const int64> broadcast_dimensions); 76 HloOpcode opcode, absl::Span<const Shape* const> operand_shapes); 78 HloOpcode opcode, absl::Span<const HloInstruction* const> operands); 83 absl::Span<const Shape* const> arg_shapes, const ProgramShape& to_apply, 84 absl::Span<const int64> dimensions); 117 absl::Span<const int64> fft_length); 129 absl::Span<const Shape* const> operand_shapes); 140 absl::Span<const Shape* const> operand_shapes); 152 absl::Span<const Shape* const> arg_shapes [all...] |
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
OpenCensusSleuthTracer.java | 25 import org.springframework.cloud.sleuth.Span; 41 * Sleuth Tracer that keeps a synchronized OpenCensus Span. This class is based on Sleuth's {@code 95 public Span createSpan(String name, /*@Nullable*/ Span parent) { 104 public Span createSpan(String name) { 110 public Span createSpan(String name, /*@Nullable*/ Sampler sampler) { 112 Span span; local 114 span = createChild(getCurrentSpan(), shortenedName); 117 span 202 Span span = local 216 Span span = local [all...] |
/external/boringssl/src/ssl/test/ |
settings_writer.h | 37 bool WriteHandoff(bssl::Span<const uint8_t> handoff); 39 bool WriteHandback(bssl::Span<const uint8_t> handback);
|
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/ |
StartEndSpanBenchmark.java | 22 import io.opencensus.trace.Span; 36 /** Benchmarks for {@link io.opencensus.trace.SpanBuilder} and {@link Span}. */ 44 private Span rootSpan = BlankSpan.INSTANCE; 69 * Span}. 74 public Span startEndNonSampledRootSpan(Data data) { 75 Span span = local 80 span.end(); 81 return span; 85 * This benchmark attempts to measure performance of start/end for a root {@code Span} with recor 92 Span span = local 109 Span span = data.tracer.spanBuilder(SPAN_NAME).setSampler(Samplers.alwaysSample()).startSpan(); local 122 Span span = local 139 Span span = local 156 Span span = local [all...] |