Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Dadd (0.18 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. ci/official/requirements_updater/README.md

    unless indicated otherwise.
    
    1) Add the new version to the `VERSIONS` variable inside
       `tensorflow/tools/toolchains/python/python_repo.bzl`. \
       While this isn't necessary for running the updater, it is required for
       actually using the new version with Tensorflow.
    
    2) In the `WORKSPACE` file, add the new version to the `python_versions`
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "AddN", name);
      TF_Output add_inputs[2] = {{l, 0}, {r, 0}};
      TF_AddInputList(desc, add_inputs, 2);
      *op = TF_FinishOperation(desc, s);
      if (check) {
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        ASSERT_NE(*op, nullptr);
      }
    }
    
    TF_Operation* Add(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                      TF_Status* s, const char* name) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  10. tensorflow/c/eager/c_api_unified_experimental.h

    // Represents a (partially-defined) shape.
    typedef struct TF_Shape {
      int num_dims;  // Must be >= -1; -1 represents unknown rank.
      int64_t* dim_sizes;
    } TF_Shape;
    
    // Add a new parameter to a TensorFlow Function.
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
Back to top