Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 182 for inputs_0 (0.08 sec)

  1. tensorflow/compiler/jit/node_matchers_test.cc

                  NodeWith(Op("Add"), Name("add"),
                           Inputs(Out(NodeWith(Name("placeholder_a"))),
                                  Out(NodeWith(Name("placeholder_b"))))));
    
      EXPECT_EQ(Explain(add.node(), NodeWith(Inputs())),
                "\nexpected 0 inputs but node has 2");
      EXPECT_EQ(
          Explain(add.node(), NodeWith(Inputs(Out(NodeWith(Name("blah"))), _))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.h

    // Creates parameters (placeholders) in the tracing `ctx` using the shape and
    // dtype of `inputs`.
    Status CreateParamsForInputs(AbstractContext* ctx,
                                 absl::Span<AbstractTensorHandle* const> inputs,
                                 std::vector<AbstractTensorHandle*>* params);
    
    // A callable that takes tensor inputs and returns zero or more tensor outputs.
    using Model = std::function<Status(AbstractContext*,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/cc/ops/while_loop.cc

                      const std::vector<Output>& inputs,
                      std::vector<Output>* outputs) {
      DCHECK(outputs != nullptr);
      DCHECK(outputs->empty());
    
      // The control dependency is analogous to that in CreateCond().
      Scope body_scope =
          scope.NewSubScope("body").WithControlDependencies(inputs[0]);
      TF_RETURN_IF_ERROR(body(body_scope, inputs, outputs));
    
      const size_t num_loop_vars = inputs.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/unified_api_test.cc

      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    // Checks that inputs[0] is a scalar.
    Status TestScalarShape(AbstractContext* ctx,
                           absl::Span<AbstractTensorHandle* const> inputs,
                           absl::Span<AbstractTensorHandle*> outputs) {
      PartialTensorShape shape;
      TF_RETURN_IF_ERROR(inputs[0]->Shape(&shape));
      if (shape.dims() != 0) {
        return errors::InvalidArgument(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc

      if (ops.empty()) {
        return;
      }
    
      std::vector<Value> inputs;
      std::vector<Value> outputs;
      computeInputsOutputs(ops, &inputs, &outputs);
    
      std::vector<Type> input_types;
      std::vector<Type> output_types;
    
      input_types.reserve(inputs.size());
      for (Value v : inputs) {
        input_types.push_back(v.getType());
      }
      output_types.reserve(outputs.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/custom_gradient_test.cc

    //   return tf.exp(input), grad
    // outputs = [f(inputs[0])]
    Status ExpWithPassThroughGrad(AbstractContext* ctx,
                                  absl::Span<AbstractTensorHandle* const> inputs,
                                  absl::Span<AbstractTensorHandle*> outputs) {
      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);  // Watch x.
      AbstractTensorHandle* exp_output;
      TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/if_op.mlir

    // CHECK-NEXT:       has_rank: true
    // CHECK-NEXT:     } ],
    // CHECK-NEXT:     inputs: [ 0, 1 ],
    // CHECK-NEXT:     outputs: [ 3 ],
    // CHECK-NEXT:     operators: [ {
    // CHECK-NEXT:       inputs: [ 0, 1 ],
    // CHECK-NEXT:       outputs: [ 2 ]
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       opcode_index: 1,
    // CHECK-NEXT:       inputs: [ 2, 0, 1 ],
    // CHECK-NEXT:       outputs: [ 3 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/python/composite.py

      Example:
        @composite.Composite('AddN')
        def _compose_add_n(inputs, N):
          if N == 1:
            ....
      """
    
      # TODO(fengliuai): support input_binding and output_binding so the arguments
      # are not positional.
      def __init__(self,
                   op_name,
                   inputs=None,
                   attrs=None,
                   derived_attrs=None,
                   outputs=None):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ExecutionTimeTaskConfigurationIntegrationTest.groovy

            "inputs.file('a')"                                          | "TaskInputs.file(Object)"
            "inputs.files('a')"                                         | "TaskInputs.files(Object...)"
            "inputs.dir('a')"                                           | "TaskInputs.dir(Object)"
            "inputs.property('key', 'value')"                           | "TaskInputs.property(String, Object)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. pkg/test/framework/label/filter.go

    func (f *Selector) Selects(inputs Set) bool {
    	return !inputs.containsAny(f.absent) && inputs.containsAll(f.present)
    }
    
    // Excludes returns false, if the given set of labels, even combined with new ones, could end up satisfying the Selector.
    // It returns false, if Matches would never return true, even if new labels are added to the input set.
    func (f *Selector) Excludes(inputs Set) bool {
    	return inputs.containsAny(f.absent)
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top