HomeSort by relevance Sort by last modified time
    Searched defs:Const (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/tensorflow/tensorflow/go/op/
op.go 32 // Const adds an operation to graph that produces value as output.
33 func Const(scope *Scope, value interface{}) (output tf.Output) {
41 scope.UpdateErr("Const", err)
46 Type: "Const",
  /external/clang/test/SemaTemplate/
alias-church-numerals.cpp 29 template<typename T, T N> struct Const { static const T value = N; };
31 template<typename T, T N> struct IncrementHelper<Const<T, N>> { using Result = Const<T, N+1>; };
34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value];
deduction.cpp 6 static const unsigned value = 0;
11 static const unsigned value = 1;
21 static const bool value = false;
26 static const bool value = true;
55 struct Replace<const T, Arg1, Arg2> {
56 typedef typename Replace<T, Arg1, Arg2>::type const type;
80 int array1[is_same<Replace<const _1, int, float>::type, const int>::value? 1 : -1];
82 int array3[is_same<Replace<vector<const _1>, int, float>::type, vector<const int> >::value? 1 : -1]
    [all...]
  /external/tensorflow/tensorflow/go/
util_test.go 30 func Const(g *Graph, name string, value interface{}) (Output, error) {
39 Type: "Const",
  /external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/
Const.java 14 public class Const implements IExpression {
18 public Const(final double value) {
  /external/tensorflow/tensorflow/cc/ops/
const_op.h 26 /// @defgroup const_op Const Op
29 Output Const(const Scope& scope, const Input::Initializer& val);
31 Output ConstFromProto(const Scope& scope, const TensorProto& proto);
33 NodeBuilder::NodeOut AsNodeOut(const Scope& scope, const Input& inp);
36 Output Const(const Scope& scope, const Input::Initializer& val)
    [all...]
const_op.cc 24 Output ConstHelper(const Scope& scope, const T& value, DataType dtype) {
29 const string unique_name = scope.GetUniqueNameForOp("Const");
30 auto builder = NodeBuilder(unique_name, "Const")
44 Output Const(const Scope& scope, const Input::Initializer& val) {
52 Output ConstFromProto(const Scope& scope, const TensorProto& proto)
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
p2.cpp 6 struct Const {
7 Const(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move constructor may not be const}}
8 Const& operator=(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move assignment operator may not be const}}
21 const AssignmentRet2& operator=(AssignmentRet2&&) = default; // expected-error {{explicitly-defaulted mo (…)
    [all...]
  /build/soong/androidmk/parser/
make_strings.go 115 func (ms *MakeString) Const() bool {
  /external/libchrome/mojo/public/tools/bindings/pylib/mojom/parse/
ast.py 117 class Const(Definition):
118 """Represents a const definition."""
127 super(Const, self).__init__(mojom_name, **kwargs)
133 return super(Const, self).__eq__(other) and \
246 _list_item_type = (Const, Enum, Method)
376 _list_item_type = (Const, Enum, StructField)
  /external/llvm/lib/CodeGen/SelectionDAG/
SDNodeDbgValue.h 34 CONST = 1, // value is a constant
43 const Value *Const; // valid for constants
67 SDDbgValue(MDNode *Var, MDNode *Expr, const Value *C, uint64_t off,
71 kind = CONST;
72 u.Const = C;
85 DbgValueKind getKind() const { return kind; }
88 MDNode *getVariable() const { return Var; }
91 MDNode *getExpression() const { return Expr; }
94 SDNode *getSDNode() const { assert (kind==SDNODE); return u.s.Node;
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
SDNodeDbgValue.h 34 CONST = 1, // value is a constant
44 const Value *Const; // valid for constants
63 SDDbgValue(MDNode *mdP, const Value *C, uint64_t off, DebugLoc dl,
66 kind = CONST;
67 u.Const = C;
90 const Value *getConst() { assert (kind==CONST); return u.Const; }
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
SDNodeDbgValue.h 34 CONST = 1, ///< Value is a constant.
44 const Value *Const; ///< Valid for constants.
67 SDDbgValue(DIVariable *Var, DIExpression *Expr, const Value *C, DebugLoc dl,
70 kind = CONST;
71 u.Const = C;
89 DbgValueKind getKind() const { return kind; }
92 DIVariable *getVariable() const { return Var; }
95 DIExpression *getExpression() const { return Expr; }
98 SDNode *getSDNode() const { assert (kind==SDNODE); return u.s.Node;
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZTDC.cpp 124 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1));
127 if (!Const)
134 // Check if Const is one of our recognized consts.
136 if (Const->isZero()) {
139 } else if (Const->isInfinity()) {
141 WhichConst = Const->isNegative() ? 2 : 1;
142 } else if (Const->isExactlyValue(Smallest)) {
148 } else if (Const->isExactlyValue(NegSmallest)) {
159 static const int Masks[][4] = {
234 auto *Const = dyn_cast<ConstantInt>(I.getOperand(1))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
SystemZTDC.cpp 124 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1));
127 if (!Const)
134 // Check if Const is one of our recognized consts.
136 if (Const->isZero()) {
139 } else if (Const->isInfinity()) {
141 WhichConst = Const->isNegative() ? 2 : 1;
142 } else if (Const->isExactlyValue(Smallest)) {
148 } else if (Const->isExactlyValue(NegSmallest)) {
159 static const int Masks[][4] = {
234 auto *Const = dyn_cast<ConstantInt>(I.getOperand(1))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/CodeView/
TypeIndexDiscoveryTest.cpp 41 bool checkTypeReferences(uint32_t RecordIndex, Indices &&... TIs) const {
50 for (const CVSymbol &S : Symbols)
82 uint32_t countRefs(uint32_t RecordIndex) const {
92 TypeIndex TI) const {
99 reinterpret_cast<const TypeIndex *>(Loc.data()), Ref.Count);
101 [TI](const TypeIndex &Other) { return Other == TI; }))
109 ArrayRef<ArrayRef<uint8_t>> CVRecords) const {
116 TypeIndex TI, Indices &&... Rest) const {
215 const TypeIndex T1{40};
216 const TypeIndex T2{41}
    [all...]
  /external/tensorflow/tensorflow/compiler/jit/
node_matchers.cc 45 bool CompareTensor(const Tensor& actual, const Tensor& expected,
68 bool MatchAndExplainTensor(const Tensor& tensor, const Tensor& expected_tensor,
106 struct NodeMatcher : public ::testing::MatcherInterface<const Node*> {
108 const Node* node,
109 ::testing::MatchResultListener* listener) const override {
135 const TensorProto* proto = nullptr;
176 std::vector<const Node*> control_deps;
177 for (const Edge* e : node->in_edges())
    [all...]
  /external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/op/
ScopeTest.java 129 Const<Integer> c1 = Const.create(s, 42);
130 assertEquals("Const", c1.output().op().name());
131 Const<Integer> c2 = Const.create(s, 7);
133 Const<Integer> c3 = Const.create(s.withName("four"), 4);
135 Const<Integer> c4 = Const.create(s.withName("four"), 4);
145 assertEquals("child/Const", Const.create(child, 42).output().op().name())
    [all...]
  /external/turbine/java/com/google/turbine/model/
Const.java 26 public abstract class Const {
53 /** Subtypes of {@link Const} for primitive and String literals. */
54 public abstract static class Value extends Const {
694 public static class ArrayInitValue extends Const {
696 private final ImmutableList<Const> elements;
698 public ArrayInitValue(ImmutableList<Const> elements) {
707 public ImmutableList<Const> elements() {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
MergeICmps.cpp 48 const Value *Base() const { return GEP ? GEP->getPointerOperand() : nullptr; }
50 bool operator<(const BCEAtom &O) const {
58 const int NameCmp = Base()->getName().compare(O.Base()->getName());
76 BCEAtom visitICmpLoadOperand(Value *const Val) {
78 if (auto *const LoadI = dyn_cast<LoadInst>(Val)) {
88 Value *const Addr = LoadI->getOperand(0);
89 if (auto *const GEP = dyn_cast<GetElementPtrInst>(Addr)) {
95 const auto &DL = GEP->getModule()->getDataLayout()
    [all...]
  /external/tensorflow/tensorflow/c/
c_test_util.cc 46 const int num_bytes = sizeof(bool);
53 TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values) {
64 TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
65 const int32_t* values) {
76 TF_Tensor* Int32Tensor(const std::vector<int32_t>& values) {
82 const int num_bytes = sizeof(int32_t);
90 const int num_bytes = sizeof(double);
98 const int num_bytes = sizeof(float);
108 void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
ast.py 360 class Const(Node):
372 return "Const(%s)" % (repr(self.value),)
    [all...]
  /external/clang/test/CodeGenCXX/
microsoft-abi-member-pointers.cpp 122 namespace Const {
128 // CHECK: @"\01?s_f_mp@Const@@3P8Single@@AEXXZQ2@" =
130 // CHECK: @"\01?m_f_mp@Const@@3P8Multiple@@AEXXZQ2@" =
132 // CHECK: @"\01?v_f_mp@Const@@3P8Virtual@@AEXXZQ2@" =
134 // CHECK: @"\01?u_f_mp@Const@@3P8Unspecified@@AEXXZQ2@" =
136 // CHECK: @"\01?us_f_mp@Const@@3P8UnspecSingle@@AEXXZQ2@" =
701 void use(void (Child::*const &)());
  /external/libchrome/third_party/jinja2/
nodes.py 485 class Const(Literal):
505 """Return a const object if the value is representable as
748 def const(obj): function in function:Slice.as_const
752 return slice(const(self.start), const(self.stop), const(self.step))
983 EvalContextModifier(options=[Keyword('autoescape', Const(True))])
  /external/llvm/lib/Analysis/
MemoryBuiltins.cpp 53 static const std::pair<LibFunc::Func, AllocFnsTy> AllocationFnData[] = {
81 static Function *getCalledFunction(const Value *V, bool LookThroughBitCast) {
101 static Optional<AllocFnsTy> getAllocationData(const Value *V, AllocType AllocTy,
102 const TargetLibraryInfo *TLI,
108 const Function *Callee = getCalledFunction(V, LookThroughBitCast);
137 const auto *Iter =
139 [TLIFn](const std::pair<LibFunc::Func, AllocFnsTy> &P) {
146 const AllocFnsTy *FnData = &Iter->second;
167 static bool hasNoAliasAttr(const Value *V, bool LookThroughBitCast) {
176 bool llvm::isAllocationFn(const Value *V, const TargetLibraryInfo *TLI
    [all...]

Completed in 907 milliseconds

1 2 3