Home
last modified time | relevance | path

Searched defs:literal (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/external/tensorflow/tensorflow/compiler/tf2xla/
Dliteral_util.cc26 xla::BorrowingLiteral* literal) { in HostTensorToBorrowingLiteral()
35 xla::BorrowingLiteral* literal) { in HostTensorToBorrowingLiteral()
47 xla::BorrowingLiteral literal; in HostTensorToLiteral() local
53 Tensor* host_tensor, xla::MutableBorrowingLiteral* literal) { in HostTensorToMutableBorrowingLiteral()
62 xla::MutableBorrowingLiteral* literal) { in HostTensorToMutableBorrowingLiteral()
70 xla::BorrowingLiteral* literal) { in HostTensorsToBorrowingLiteralTuple()
89 Status CopyLiteralToHostTensor(const xla::LiteralSlice& literal, in CopyLiteralToHostTensor()
112 Status LiteralToHostTensor(const xla::LiteralSlice& literal, in LiteralToHostTensor()
Dxla_op_kernel.cc203 static Status LiteralToInt64Scalar(const xla::LiteralSlice& literal, in LiteralToInt64Scalar()
219 static Status LiteralToFloat64Scalar(const xla::LiteralSlice& literal, in LiteralToFloat64Scalar()
236 xla::Literal literal; in ConstantInputAsIntScalar() local
249 xla::Literal literal; in ConstantInputAsFloatScalar() local
254 static Status LiteralToPredVector(const xla::LiteralSlice& literal, in LiteralToPredVector()
271 xla::Literal literal; in ResolveInputDynamismIntoPred() local
347 xla::Literal literal; in ResolveInputDynamismIntoPredVector() local
355 static Status LiteralToInt64Vector(const xla::LiteralSlice& literal, in LiteralToInt64Vector()
378 xla::Literal literal; in ConstantInputAsIntVector() local
392 xla::Literal literal; in ConstantInputReshapedToIntVector() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_util.cc46 Literal ConvertType(LiteralSlice literal) { in ConvertType()
222 const LiteralBase& literal) { in GetMaxElementImpl()
229 const LiteralBase& literal) { in GetMaxElementImpl()
242 GetElementAtIndexImpl(const LiteralBase* literal, in GetElementAtIndexImpl()
249 GetElementAtIndexImpl(const LiteralBase* literal, in GetElementAtIndexImpl()
264 void SetScalarAtIndexImpl(MutableLiteralBase& literal, in SetScalarAtIndexImpl()
366 Literal literal( in CreateR1() local
373 Literal literal( in CreateR1U8() local
390 absl::Span<const int64_t> minor_to_major, const LiteralSlice& literal) { in ReshapeSlice()
464 const LiteralSlice& literal) { in GetFirstScalarLiteral()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtransfer_manager_test.cc72 Literal literal = LiteralUtil::CreateR0<uint32_t>(42); in XLA_TEST_F() local
87 Literal literal = in XLA_TEST_F() local
110 Literal literal = LiteralUtil::CreateR1<float>(inputs); in XLA_TEST_F() local
128 Literal literal = LiteralUtil::CreateR1<float>(test_vector); in XLA_TEST_F() local
164 Literal literal = LiteralUtil::CreateR1U8(test_string); in XLA_TEST_F() local
179 Literal literal = in XLA_TEST_F() local
197 Literal literal = LiteralUtil::CreateR2WithLayout<float>( in XLA_TEST_F() local
218 Literal literal = LiteralUtil::MakeTupleFromSlices( in XLA_TEST_F() local
235 Literal literal = LiteralUtil::MakeTuple({}); in XLA_TEST_F() local
249 Literal literal = LiteralUtil::MakeTupleFromSlices( in XLA_TEST_F() local
[all …]
Dtest_utils.cc35 void PopulateWithRandomFloatingPointData(Literal* literal, in PopulateWithRandomFloatingPointData()
47 void PopulateWithRandomFullRangeFloatingPointData(Literal* literal, in PopulateWithRandomFullRangeFloatingPointData()
89 void PopulateWithIntNext<half>(Literal* literal) { in PopulateWithIntNext()
103 void PopulateWithIntNext<bfloat16>(Literal* literal) { in PopulateWithIntNext()
118 void PopulateWithNextAfter(Literal* literal) { in PopulateWithNextAfter()
132 void PopulateWithNoDuplicateData(Literal* literal, std::minstd_rand0* engine) { in PopulateWithNoDuplicateData()
142 void PopulateWithNoDuplicateData(Literal* literal, std::minstd_rand0* engine) { in PopulateWithNoDuplicateData()
149 void PopulateWithFloatingPointData(Literal* literal, std::minstd_rand0* engine, in PopulateWithFloatingPointData()
190 void PopulateWithFloatingPointData<half>(Literal* literal, in PopulateWithFloatingPointData()
207 void PopulateWithFloatingPointData<bfloat16>(Literal* literal, in PopulateWithFloatingPointData()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java72 public static int checkNibbleLiteral(int literal) { in checkNibbleLiteral()
80 public static int checkByteLiteral(int literal) { in checkByteLiteral()
88 public static int checkShortLiteral(int literal) { in checkShortLiteral()
96 public static int checkIntegerHatLiteral(int literal) { in checkIntegerHatLiteral()
104 public static long checkLongHatLiteral(long literal) { in checkLongHatLiteral()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/util/
DPreconditions.java79 public static int checkNibbleLiteral(int literal) { in checkNibbleLiteral()
87 public static int checkByteLiteral(int literal) { in checkByteLiteral()
95 public static int checkShortLiteral(int literal) { in checkShortLiteral()
103 public static int checkIntegerHatLiteral(int literal) { in checkIntegerHatLiteral()
111 public static long checkLongHatLiteral(long literal) { in checkLongHatLiteral()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtransfer_manager.h88 const MutableBorrowingLiteral& literal) { in TransferLiteralFromDevice()
110 MutableBorrowingLiteral literal, in TransferLiteralFromDevice()
132 const LiteralSlice& literal, in TransferLiteralToDevice()
158 const LiteralSlice& literal, in TransferLiteralToDeviceAsync()
Dgeneric_transfer_manager.cc63 MutableBorrowingLiteral literal, std::function<void(Status)> done, in TransferLiteralFromDevice()
97 se::Stream* stream, const LiteralSlice& literal, in TransferLiteralToDeviceAsync()
147 se::StreamExecutor* executor, const LiteralSlice& literal) { in TransferLiteralToInfeed()
152 se::StreamExecutor* executor, MutableBorrowingLiteral literal) { in TransferLiteralFromOutfeed()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/
DInstructionFactory.java46 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction11n()
52 Instruction makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21ih()
53 Instruction makeInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal); in makeInstruction21lh()
54 Instruction makeInstruction21s(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21s()
56 … Instruction makeInstruction22b(@Nonnull Opcode opcode, int registerA, int registerB, int literal); in makeInstruction22b()
58 … Instruction makeInstruction22s(@Nonnull Opcode opcode, int registerA, int registerB, int literal); in makeInstruction22s()
64 Instruction makeInstruction31i(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction31i()
71 Instruction makeInstruction51l(@Nonnull Opcode opcode, int registerA, long literal); in makeInstruction51l()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionFactory.java47 Instruction makeInstruction11n(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction11n()
53 Instruction makeInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21ih()
54 Instruction makeInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal); in makeInstruction21lh()
55 Instruction makeInstruction21s(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction21s()
57 … Instruction makeInstruction22b(@Nonnull Opcode opcode, int registerA, int registerB, int literal); in makeInstruction22b()
59 … Instruction makeInstruction22s(@Nonnull Opcode opcode, int registerA, int registerB, int literal); in makeInstruction22s()
65 Instruction makeInstruction31i(@Nonnull Opcode opcode, int registerA, int literal); in makeInstruction31i()
72 Instruction makeInstruction51l(@Nonnull Opcode opcode, int registerA, long literal); in makeInstruction51l()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableInstructionFactory.java60 int literal) { in makeInstruction11n()
94 int literal) { in makeInstruction21ih()
100 long literal) { in makeInstruction21lh()
106 int literal) { in makeInstruction21s()
119 int literal) { in makeInstruction22b()
133 int literal) { in makeInstruction22s()
170 int literal) { in makeInstruction31i()
207 long literal) { in makeInstruction51l()
DImmutableInstruction51l.java45 protected final long literal; field in ImmutableInstruction51l
49 long literal) { in ImmutableInstruction51l()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/instruction/
DImmutableInstructionFactory.java59 int literal) { in makeInstruction11n()
93 int literal) { in makeInstruction21ih()
99 long literal) { in makeInstruction21lh()
105 int literal) { in makeInstruction21s()
118 int literal) { in makeInstruction22b()
132 int literal) { in makeInstruction22s()
169 int literal) { in makeInstruction31i()
206 long literal) { in makeInstruction51l()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/builder/instruction/
DBuilderInstruction51l.java45 protected final long literal; field in BuilderInstruction51l
49 long literal) { in BuilderInstruction51l()
DBuilderInstruction21s.java45 protected final int literal; field in BuilderInstruction21s
49 int literal) { in BuilderInstruction21s()
DBuilderInstruction31i.java45 protected final int literal; field in BuilderInstruction31i
49 int literal) { in BuilderInstruction31i()
DBuilderInstruction11n.java45 protected final int literal; field in BuilderInstruction11n
49 int literal) { in BuilderInstruction11n()
DBuilderInstruction21lh.java45 protected final long literal; field in BuilderInstruction21lh
49 long literal) { in BuilderInstruction21lh()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
DBuilderInstruction51l.java46 protected final long literal; field in BuilderInstruction51l
50 long literal) { in BuilderInstruction51l()
DBuilderInstruction21s.java46 protected final int literal; field in BuilderInstruction21s
50 int literal) { in BuilderInstruction21s()
DBuilderInstruction31i.java46 protected final int literal; field in BuilderInstruction31i
50 int literal) { in BuilderInstruction31i()
DBuilderInstruction21lh.java46 protected final long literal; field in BuilderInstruction21lh
50 long literal) { in BuilderInstruction21lh()
DBuilderInstruction11n.java46 protected final int literal; field in BuilderInstruction11n
50 int literal) { in BuilderInstruction11n()
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dstring_cast.inl34 struct literal struct
36 GLM_FUNC_QUALIFIER static char const * value() {return "%d";};
40 struct literal<T, true> struct
42 GLM_FUNC_QUALIFIER static char const * value() {return "%f";};
47 struct literal<uint64_t, false> struct
49 GLM_FUNC_QUALIFIER static char const * value() {return "%lld";};
53 struct literal<int64_t, false> struct
55 GLM_FUNC_QUALIFIER static char const * value() {return "%lld";};

12345678910>>...14