HomeSort by relevance Sort by last modified time
    Searched refs:scope (Results 1 - 25 of 1685) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
Constant.java 33 import org.tensorflow.op.Scope;
43 * @param scope is a scope used to add the underlying operation.
47 public static Constant<Integer> create(Scope scope, int data) {
48 return create(scope, data, Integer.class);
54 * @param scope is a scope used to add the underlying operation.
58 public static Constant<Integer> create(Scope scope, int[] data)
    [all...]
  /external/iproute2/ip/
routef 4 exec ip -4 ro flush scope global type unicast
  /external/tensorflow/tensorflow/go/op/
gradients.go 25 // Gradients adds gradients computation ops to the graph according to scope.
33 func Gradients(scope *Scope, y []tf.Output, x []tf.Output, dx ...tf.Output) (output []tf.Output) {
34 if len(scope.controlDependencies) > 0 {
35 scope.UpdateErr("Gradients", fmt.Errorf("Gradients does not currently support control dependencies (via Scope.WithControlDependencies)."))
38 if scope.device != "" {
39 scope.UpdateErr("Gradients", fmt.Errorf("Gradients does not currently support device annotations (via Scope.WithDevice)."))
44 if output, err = scope.graph.AddGradients(scope.opName("Gradients"), y, x, dx); err != nil
    [all...]
  /external/tensorflow/tensorflow/cc/gradients/
math_grad.cc 45 Output ConjugateHelper(const Scope& scope, const Output& out) {
48 return Conj(scope, out);
56 Status AbsGrad(const Scope& scope, const Operation& op,
60 grad_outputs->push_back(Mul(scope, grad_inputs[0], Sign(scope, op.input(0))));
61 return scope.status();
65 Status NegGrad(const Scope& scope, const Operation& op
    [all...]
array_grad.cc 42 Status PackGrad(const Scope& scope, const Operation& op,
51 auto grad_op = Unstack(scope, grad_inputs[0], N, Unstack::Axis(axis));
55 return scope.status();
59 Status UnpackGrad(const Scope& scope, const Operation& op,
64 grad_outputs->push_back(Stack(scope, grad_inputs, Stack::Axis(axis)));
65 return scope.status();
69 Status IdentityGrad(const Scope& scope, const Operation& op
    [all...]
data_flow_grad.cc 44 Status DynamicPartitionGrad(const Scope& scope, const Operation& op,
72 auto partitions_shape = Shape(scope, partitions);
79 auto zero = Const(scope, 0);
80 auto one = Const(scope, 1);
82 scope, Range(scope, zero, Prod(scope, partitions_shape, zero), one),
90 DynamicPartition(scope, original_indices, partitions, num_partitions);
99 DynamicStitch(scope, partitioned_indices.outputs, grad_inputs)
    [all...]
nn_grad.cc 27 Status SoftmaxGrad(const Scope& scope, const Operation& op,
41 auto dyy = Mul(scope, grad_inputs[0], y);
42 auto sum = Reshape(scope, Sum(scope, dyy, {1}), {-1, 1});
43 auto sub = Sub(scope, grad_inputs[0], sum);
44 auto dx = Mul(scope, sub, y);
46 return scope.status();
50 bool IsZero(const Scope& scope, const Output& grad)
    [all...]
  /external/tensorflow/tensorflow/cc/ops/
const_op.cc 24 Output ConstHelper(const Scope& scope, const T& value, DataType dtype) {
25 if (!scope.ok()) return Output();
28 Graph* graph = scope.graph();
29 const string unique_name = scope.GetUniqueNameForOp("Const");
33 scope.UpdateBuilder(&builder);
34 scope.UpdateStatus(builder.Finalize(graph, &ret));
35 if (!scope.ok()) return Output();
37 scope.UpdateStatus(scope.DoShapeInference(ret))
    [all...]
const_op.h 20 #include "tensorflow/cc/framework/scope.h"
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) {
37 auto orig_const_output = Const(scope, val)
    [all...]
  /external/turbine/java/com/google/turbine/binder/lookup/
CompoundScope.java 23 /** A {@link Scope} that chains other scopes together. */
24 public class CompoundScope implements Scope {
26 private final Scope scope; field in class:CompoundScope
27 @Nullable private final Scope base;
29 private CompoundScope(Scope scope, Scope base) {
30 this.scope = checkNotNull(scope);
    [all...]
  /external/deqp-deps/SPIRV-Tools/source/val/
validate_scopes.h 24 const Instruction* inst, uint32_t scope);
27 uint32_t scope);
  /external/swiftshader/third_party/SPIRV-Tools/source/val/
validate_scopes.h 24 const Instruction* inst, uint32_t scope);
27 uint32_t scope);
  /external/tensorflow/tensorflow/cc/framework/
gradient_checker_test.cc 42 Scope scope = Scope::NewRootScope(); local
44 auto x = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape));
45 auto y = Square(scope, x);
48 scope, {x}, {shape}, {y}, {shape}, &max_error)));
53 Scope scope = Scope::NewRootScope(); local
55 auto x = Placeholder(scope, DT_DOUBLE, Placeholder::Shape(shape))
64 Scope scope = Scope::NewRootScope(); local
75 Scope scope = Scope::NewRootScope(); local
87 Scope scope = Scope::NewRootScope(); local
99 Scope scope = Scope::NewRootScope(); local
112 Scope scope = Scope::NewRootScope(); local
124 Scope scope = Scope::NewRootScope(); local
141 Scope scope = Scope::NewRootScope(); local
156 Scope scope = Scope::NewRootScope(); local
172 Scope scope = Scope::NewRootScope(); local
    [all...]
  /external/v8/src/parsing/
expression-scope-reparenter.cc 5 #include "src/parsing/expression-scope-reparenter.h"
19 Reparenter(uintptr_t stack_limit, Expression* initializer, Scope* scope)
20 : AstTraversalVisitor(stack_limit, initializer), scope_(scope) {}
36 Scope* scope_;
40 function_literal->scope()->ReplaceOuterScope(scope_);
44 class_literal->scope()->ReplaceOuterScope(scope_);
46 // scope on its scope chain.
47 DCHECK_EQ(class_literal->constructor()->scope()->outer_scope()
    [all...]
  /build/soong/scripts/
gen-java-current-api-files.sh 29 for scope in "${scopes[@]}"; do
31 touch "${api_dir}/${scope}${api}.txt"
  /external/tensorflow/tensorflow/lite/tools/accuracy/
file_reader_stage.cc 18 #include "tensorflow/cc/framework/scope.h"
23 void FileReaderStage::AddToGraph(const Scope& scope, const Input& input) {
24 if (!scope.ok()) return;
25 Scope s = scope.WithOpName(name());
run_tflite_model_op_test.cc 20 #include "tensorflow/cc/framework/scope.h"
38 Scope scope = Scope::NewRootScope(); local
39 TF_CHECK_OK(scope.status());
44 ops::Const(scope, 1.0f, {1, 8, 8, 3}), // a
45 ops::Const(scope, 2.1f, {1, 8, 8, 3}), // b
46 ops::Const(scope, 3.2f, {1, 8, 8, 3}), // c
47 ops::Const(scope, 4.3f, {1, 8, 8, 3}), // d
52 std::back_inserter(input_data), [&scope](Input model_input)
98 Scope scope = Scope::NewRootScope(); local
145 Scope scope = Scope::NewRootScope(); local
    [all...]
  /external/tensorflow/tensorflow/compiler/tf2xla/
functionalize_control_flow_test.cc 68 Scope scope = Scope::NewRootScope().ExitOnError(); local
70 auto x = ops::Placeholder(scope.WithOpName("x"), DT_INT32);
71 auto y = ops::Placeholder(scope.WithOpName("y"), DT_INT32);
72 auto less = ops::Less(scope.WithOpName("cond/Less"), y, x);
73 auto switch_1 = ops::Switch(scope.WithOpName("cond/Switch"), less, less);
76 ops::Identity(scope.WithOpName("cond/Identity"), switch_1.output_true);
78 scope.WithOpName("cond").WithControlDependencies(identity_t), 17);
79 auto switch_2 = ops::Switch(scope.WithOpName("cond/Switch"), y, less)
117 Scope scope = Scope::NewRootScope().ExitOnError(); local
132 Scope scope = Scope::NewRootScope().ExitOnError(); local
157 Scope scope = Scope::NewRootScope().ExitOnError(); local
205 Scope scope = Scope::NewRootScope().ExitOnError(); local
266 Scope scope = Scope::NewRootScope().ExitOnError(); local
279 Scope scope = Scope::NewRootScope().ExitOnError(); local
300 Scope scope = Scope::NewRootScope().ExitOnError(); local
360 Scope scope = Scope::NewRootScope().ExitOnError(); local
418 Scope scope = Scope::NewRootScope().ExitOnError(); local
430 Scope scope = Scope::NewRootScope().ExitOnError(); local
466 Scope scope = Scope::NewRootScope().ExitOnError(); local
492 Scope scope = Scope::NewRootScope().ExitOnError(); local
538 Scope scope = Scope::NewRootScope().ExitOnError(); local
550 Scope scope = Scope::NewRootScope().ExitOnError(); local
571 Scope scope = Scope::NewRootScope().ExitOnError(); local
602 Scope scope = Scope::NewRootScope().ExitOnError(); local
686 Scope scope = Scope::NewRootScope().ExitOnError(); local
701 Scope scope = Scope::NewRootScope().ExitOnError(); local
729 Scope scope = Scope::NewRootScope().ExitOnError(); local
785 Scope scope = Scope::NewRootScope().ExitOnError(); local
929 Scope scope = Scope::NewRootScope().ExitOnError(); local
950 Scope scope = Scope::NewRootScope().ExitOnError(); local
986 Scope scope = Scope::NewRootScope().ExitOnError(); local
1026 Scope scope = Scope::NewRootScope().ExitOnError(); local
1055 Scope scope = Scope::NewRootScope().ExitOnError(); local
    [all...]
  /external/vixl/src/aarch64/
cpu-features-auditor-aarch64.cc 39 // This scope makes that simple, and allows early returns in the decode logic.
81 RecordInstructionFeaturesScope scope(this);
87 scope.Record(CPUFeatures::kNEON);
95 scope.RecordOneOrBothOf(CPUFeatures::kFP, CPUFeatures::kNEON);
104 RecordInstructionFeaturesScope scope(this);
108 scope.Record(CPUFeatures::kNEON);
114 scope.RecordOneOrBothOf(CPUFeatures::kFP, CPUFeatures::kNEON);
124 RecordInstructionFeaturesScope scope(this);
129 RecordInstructionFeaturesScope scope(this);
134 RecordInstructionFeaturesScope scope(this)
    [all...]
  /external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
vgg.py 57 """Defines the VGG arg scope.
79 scope='vgg_a'):
93 scope: Optional scope for the variables.
98 with variable_scope.variable_scope(scope, 'vgg_a', [inputs]) as sc:
105 inputs, 1, layers.conv2d, 64, [3, 3], scope='conv1')
106 net = layers_lib.max_pool2d(net, [2, 2], scope='pool1')
107 net = layers_lib.repeat(net, 1, layers.conv2d, 128, [3, 3], scope='conv2')
108 net = layers_lib.max_pool2d(net, [2, 2], scope='pool2')
109 net = layers_lib.repeat(net, 2, layers.conv2d, 256, [3, 3], scope='conv3'
    [all...]
  /external/tensorflow/tensorflow/compiler/jit/
encapsulate_xla_computations_pass_test.cc 37 Scope scope = Scope::NewRootScope().ExitOnError(); local
38 TF_EXPECT_OK(scope.graph()->AddFunctionLibrary(flib_def.ToProto()));
40 auto a = ops::Placeholder(scope.WithOpName("A"), DT_INT32);
41 auto b = ops::Placeholder(scope.WithOpName("B"), DT_FLOAT);
42 auto c = ops::Placeholder(scope.WithOpName("C"), DT_INT32);
43 auto d = ops::Placeholder(scope.WithOpName("D"), DT_FLOAT);
44 auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE);
45 auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE)
98 Scope scope = Scope::NewRootScope().ExitOnError(); local
209 Scope scope = Scope::NewRootScope().ExitOnError(); local
310 Scope scope = Scope::DisabledShapeInferenceScope().ExitOnError(); local
    [all...]
  /external/guice/core/src/com/google/inject/spi/
ScopeBinding.java 22 import com.google.inject.Scope;
26 * Registration of a scope annotation with the scope that implements it. Instances are created
27 * explicitly in a module using {@link com.google.inject.Binder#bindScope(Class, Scope) bindScope()}
31 * Scope recordScope = new RecordScope();
40 private final Scope scope; field in class:ScopeBinding
42 ScopeBinding(Object source, Class<? extends Annotation> annotationType, Scope scope) {
45 this.scope = checkNotNull(scope, "scope")
    [all...]
  /external/tensorflow/tensorflow/core/kernels/fuzzing/
decode_compressed_fuzz.cc 23 void BuildGraph(const Scope& scope) override {
25 tensorflow::ops::Placeholder(scope.WithOpName("input"), DT_STRING);
27 scope.WithOpName("d1"), input,
30 scope.WithOpName("d2"), input,
33 scope.WithOpName("d3"), input,
35 Scope grouper =
36 scope.WithControlDependencies(std::vector<tensorflow::Operation>{
  /external/turbine/java/com/google/turbine/binder/bound/
PackageSourceBoundModule.java 28 private final ImportScope scope; field in class:PackageSourceBoundModule
33 ModDecl module, ImportScope scope, MemberImportIndex memberImports, SourceFile source) {
35 this.scope = scope;
44 public ImportScope scope() { method in class:PackageSourceBoundModule
45 return scope;
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/expr/
MethodCallExpr.java 35 private Expression scope; field in class:MethodCallExpr
46 public MethodCallExpr(final Expression scope, final String name) {
47 setScope(scope);
51 public MethodCallExpr(final Expression scope, final String name, final List<Expression> args) {
52 setScope(scope);
58 final Expression scope, final List<Type> typeArgs, final String name, final List<Expression> args) {
60 setScope(scope);
87 return scope;
107 public void setScope(final Expression scope) {
108 this.scope = scope
    [all...]

Completed in 1411 milliseconds

1 2 3 4 5 6 7 8 91011>>