Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for scope (0.12 sec)

  1. tensorflow/c/c_api.cc

              const tensorflow::Scope& scope,
              const std::vector<tensorflow::Output>& inputs,
              std::vector<tensorflow::Output>* outputs) {
            DCHECK_EQ(scope.graph(), &parent->graph);
            TF_RETURN_IF_ERROR(
                CopyGraph(&params->body_graph->graph, &parent->graph,
                          &parent->refiner, params->body_inputs, inputs,
                          scope.impl()->name(), scope.impl()->control_deps(),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

    TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInSameScope) {
      BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope/gradients_1");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInDifferentScopes) {
      BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope_1/gradients");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    }
    
    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/experimental/gradients/nn_grad_test.cc

      if (UseFunction()) {
        // TODO(b/168850692): Enable this.
        GTEST_SKIP() << "Can't take gradient of "
                        "SparseSoftmaxCrossEntropyWithLogits in tracing mode.";
      }
    
      // Score
      float X_vals[] = {1.0f, 2.0f, 3.0f, -5.0f, -4.0f, -3.0f, 2.0f, 0.0f, -1.0f};
      int64_t X_dims[] = {3, 3};
      AbstractTensorHandlePtr X;
      {
        AbstractTensorHandle* X_raw;
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/unified_api_testutil.cc

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function) {
      if (use_function) {
        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test_util.cc

      auto* rewrite_options =
          config->mutable_graph_options()->mutable_rewrite_options();
      rewrite_options->set_scoped_allocator_optimization(
          tensorflow::RewriterConfig::ON);
      rewrite_options->mutable_scoped_allocator_opts()->add_enable_op(
          "CollectiveReduce");
    
      if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) &&
          num_virtual_gpus > 0) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
Back to top