Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Dadd (0.14 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

        add_output1 = TF_OutputListGet(add_outputs, 0);
        TF_DeleteOutputList(add_outputs);
      }
    
      // Same with a second "Add" computing `arg1 + arg1`.
      TF_AbstractTensor* add_output2;
      {
        // Build an abstract operation, inputs and output.
        auto* add_op = TF_NewAbstractOp(graph_ctx);
        TF_AbstractOpSetOpType(add_op, "Add", s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_AbstractOpSetOpName(add_op, "my_add", s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      EXPECT_EQ(feed, add_in_0.oper);
      EXPECT_EQ(0, add_in_0.index);
      TF_Output add_in_1 = TF_OperationInput(TF_Input{add, 1});
      EXPECT_EQ(three, add_in_1.oper);
      EXPECT_EQ(0, add_in_1.index);
      EXPECT_EQ(0, TF_OperationOutputNumConsumers(TF_Output{add, 0}));
      EXPECT_EQ(0, TF_OperationNumControlInputs(add));
      EXPECT_EQ(0, TF_OperationNumControlOutputs(add));
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_test.cc

        for (int i = 0; i < 100000; ++i) {
          TFE_Op* add_op_dummy = AddOp(ctx, m, m);
          TFE_OpSetDevice(add_op_dummy, cpu_device_name.c_str(), status);
          ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
          TFE_TensorHandle* dummy = nullptr;
          TFE_Execute(add_op_dummy, &dummy, &num_retvals, status);
          ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      }
      TensorShapeProto proto;
      if (num_dims < 0) {
        proto.set_unknown_rank(true);
      } else {
        for (int d = 0; d < num_dims; ++d) {
          proto.add_dim()->set_size(dims[d]);
        }
      }
    
      forward_op_.attrs.Set(attr_name, proto);
      return parent_op_->SetAttrShape(attr_name, dims, num_dims);
    }
    Status TapeOperation::SetAttrFunction(const char* attr_name,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  5. ci/official/utilities/code_check_changed_files.bats

    setup_file() {
        bazel version  # Start the bazel server
    
        # Fixes "fatal: detected dubious ownership in repository" for Docker.
        git config --system --add safe.directory '*'
        git config --system protocol.file.allow always
    
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_CancellationManager* c_mgr = TFE_NewCancellationManager();
      EXPECT_FALSE(TFE_CancellationManagerIsCancelled(c_mgr));
    
      TFE_CancelCallback callback1;
      callback1.callback = [](void* context) {
        ADD_FAILURE() << "Callback1 should be deregistered.";
      };
      TFE_CancellationToken token1 = TFE_CancellationManagerGetToken(c_mgr);
      EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token1, &callback1,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        }
      }
    
      // Converts path reference to URI reference.
      //
      // If URI scheme is empty, URI reference is `path` relative to current test
      // root directory. Otherwise, we need to add the `<scheme>://` in front of
      // this path.
      //
      // Note that some filesystem might require a different approach here, for
      // example they might require the root directory path to be in a special
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/nn_grad.cc

        return absl::OkStatus();
      }
      ~SparseSoftmaxCrossEntropyWithLogitsGradientFunction() override {}
    
     private:
      vector<AbstractTensorHandle*> forward_outputs_;
    };
    
    // TODO(vnvo2409): Add python test
    class BiasAddGradientFunction : public GradientFunction {
     public:
      explicit BiasAddGradientFunction(AttrBuilder f_attrs)
          : forward_attrs_(f_attrs) {}
    
      Status Compute(AbstractContext* ctx,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/api_template.__init__.py

    def _running_from_pip_package():
      return any(
          _current_file_location.startswith(dir_) for dir_ in _site_packages_dirs)
    
    if _running_from_pip_package():
      # TODO(gunan): Add sanity checks to loaded modules here.
    
      # Load first party dynamic kernels.
      _tf_dir = _os.path.dirname(_current_file_location)
      _kernel_dir = _os.path.join(_tf_dir, "core", "kernels")
      if _os.path.exists(_kernel_dir):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  10. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    -     by constructing a non GOT reference to the symbol, the dynamic
    -     address of the symbol we compute using adrp/add to compute the
    -     symbol's address relative to the PC. */
    -
    -  ElfW(Addr) static_addr;
    -  ElfW(Addr) dynamic_addr;
    -
    -  asm ("					\n\
    -	adrp	%1, _dl_start;			\n\
    -        add	%1, %1, #:lo12:_dl_start        \n\
    -        ldr	%w0, 1f				\n\
    -	b	2f				\n\
    -1:	.word	_dl_start			\n\
    -2:						\n\
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top