Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,400 for inputs (0.22 sec)

  1. tensorflow/c/eager/gradient_checker_test.cc

                       absl::Span<AbstractTensorHandle* const> inputs,
                       absl::Span<AbstractTensorHandle*> outputs) {
      return ops::MatMul(ctx, inputs[0], inputs[1], &outputs[0],
                         /*transpose_a=*/false,
                         /*transpose_b=*/false, "MatMul");
    }
    
    Status MulModel(AbstractContext* ctx,
                    absl::Span<AbstractTensorHandle* const> inputs,
                    absl::Span<AbstractTensorHandle*> outputs) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/not_differentiable.cc

    namespace gradients {
    Status NotDifferentiableGradientFunction::Compute(
        AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs,
        absl::Span<AbstractTensorHandle*> grad_inputs) {
      for (int i = 0; i < grad_inputs.size(); i++) {
        grad_inputs[i] = nullptr;
      }
      return OkStatus();
    }
    
    Status RegisterNotDifferentiable(GradientRegistry* registry, const string& op) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 15 01:15:58 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

        // Create loop: while (input1 < input2) input1 += input2 + 1
        TF_Operation* less_than = LessThan(
            params->cond_inputs[0], params->cond_inputs[1], params->cond_graph, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->cond_output = {less_than, 0};
    
        TF_Operation* add1 = Add(params->body_inputs[0], params->body_inputs[1],
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  4. cmd/erasure-metadata_test.go

    	for i = 0; i < 8; i++ {
    		fi := FileInfo{
    			TransitionTier:      inputs[0].tier,
    			TransitionedObjName: inputs[0].remoteObjName,
    			TransitionVersionID: inputs[0].remoteVersionID,
    			TransitionStatus:    inputs[0].status,
    		}
    		ofi := fi
    		if i&(1<<0) != 0 {
    			ofi.TransitionTier = inputs[1].tier
    		}
    		if i&(1<<1) != 0 {
    			ofi.TransitionedObjName = inputs[1].remoteObjName
    		}
    		if i&(1<<2) != 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

        // below. Allocate enough space so that no reallocation happens, which will
        // make the pointers invalid.
        all_input_tensors.reserve(num_inputs);
        for (int i = 0; i < num_inputs; ++i) {
          if (input_tensors[i] == nullptr) continue;
          all_input_tensors.emplace_back();
          Tensor& input_tensor = all_input_tensors.back();
          status->status = TF_TensorToTensor(input_tensors[i], &input_tensor);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        void assertHasImmediateCancel(
            ListenableFuture<String> a, ListenableFuture<String> b, Exception e) {
          ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b);
          smartAssertTrue(inputs, e, intersect(inputs, ImmutableSet.of(doneCancelled)));
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/testdata/configdump.json

                  "internal_listener": {},
                  "filter_chain_matcher": {
                    "matcher_tree": {
                      "input": {
                        "name": "ip",
                        "typed_config": {
                          "@type": "type.googleapis.com/envoy.extensions.matching.common_inputs.network.v3.DestinationIPInput"
                        }
                      },
                      "custom_match": {
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 52K bytes
    - Viewed (0)
  8. 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(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      }
    
      private static void assertMessageDigestHashing(byte[] input, String algorithmName) {
        try {
          MessageDigest digest = MessageDigest.getInstance(algorithmName);
          assertEquals(
              HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input));
          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradient_checker.h

    namespace tensorflow {
    namespace gradients {
    
    /* Returns numerical grad inside `dtheta_approx` given `forward` model and
     * parameter specified by `input_index`.
     *
     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
Back to top