Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 312 for inputs_ (0.2 sec)

  1. 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)
  2. tensorflow/cc/client/client_session.cc

      return Run(FeedType{}, fetch_outputs, {}, outputs);
    }
    
    Status ClientSession::Run(const FeedType& inputs,
                              const std::vector<Output>& fetch_outputs,
                              std::vector<Tensor>* outputs) const {
      return Run(inputs, fetch_outputs, {}, outputs);
    }
    
    Status ClientSession::Run(const FeedType& inputs,
                              const std::vector<Output>& fetch_outputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K 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. guava-testlib/src/com/google/common/testing/CollectorTester.java

              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
            List<A> stack = new ArrayList<>();
            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              push(stack, newAccum);
            }
            push(stack, collector.supplier().get());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/custom_gradient_test.cc

        return absl::OkStatus();
      }
    };
    
    // Computes:
    //
    // @tf.custom_gradient
    // def f(input):
    //   def grad(grads):
    //     return grads[0]
    //   return tf.exp(input), grad
    // outputs = [f(inputs[0])]
    Status ExpWithPassThroughGrad(AbstractContext* ctx,
                                  absl::Span<AbstractTensorHandle* const> inputs,
                                  absl::Span<AbstractTensorHandle*> outputs) {
    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. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileInputsIntegrationTest.groovy

                // TODO when implemented, this assertion should be replaced with the commented one:
                inputs.expect(allOf(startsWith("Plugin class 'SneakyPluginA': file '${FileUtils.testFileName}'"), containsString(FileUtils.testFileName)))
                /*
                pluginClasses.forEach {
                    inputs = inputs.expect(allOf(startsWith("Plugin class '$it':"), containsString(FileUtils.testFileName))))
                }*/
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_util_test.cc

                               bool allow_mixing_unknown_and_cpu,
                               absl::Span<const absl::string_view> inputs) {
      string result;
      TF_ASSERT_OK(PickDeviceHelper(allow_mixing_unknown_and_cpu, inputs, &result))
          << "inputs = [" << absl::StrJoin(inputs, ", ")
          << "], allow_mixing_unknown_and_cpu=" << allow_mixing_unknown_and_cpu
          << ", expected_result=" << expected_result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5K 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. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

            (MHLO_CompositeOp:$composite
              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrFalse),
            [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>;
    
    def LegalizeCompositeApproximateAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top