Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for dep2 (0.13 sec)

  1. tensorflow/c/c_api.cc

    }
    
    // Copies `src_graph` into `dst_graph`. Any node in `src_graph` with input
    // `src_inputs[i]` will have that input replaced with `dst_inputs[i]`.  `prefix`
    // will be prepended to copied node names. `control_deps` are nodes in
    // `dst_graph` that the copied `src_graph` nodes will have control dependencies
    // on. `return_nodes` are nodes in `src_graph`, and the new corresponding nodes
    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/eager/c_api_cluster_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const string dev2_name = "/job:def/replica:0/task:0/device:CPU:0";
      TFE_TensorHandle* var_handle2 = TestVariable(ctx, 2.0, dev2_name);
      EXPECT_NE(var_handle2, nullptr);
      EXPECT_EQ(tensorflow::unwrap(var_handle2)->DeviceName(&status2), dev2_name);
    
      TFE_DeleteTensorHandle(var_handle0);
      TFE_DeleteTensorHandle(var_handle1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

                {"group_key", 0},
                {"instance_key", 0},
                {"merge_op", "Add"},
                {"final_op", "Id"},
                {"subdiv_offsets", std::vector<int>()}},
               /*dep=*/{"assert"}},
          });
      TF_ASSERT_OK(ContextFromInterface(unwrap(context.get()))
                       ->AddFunctionDef(assert_and_collective));
    
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> call_op(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(neg == neg2);
      NodeDef node_def2;
      ASSERT_TRUE(GetNodeDef(neg2, &node_def2));
      EXPECT_EQ(node_def.DebugString(), node_def2.DebugString());
    
      TF_Operation* feed2 = TF_GraphOperationByName(graph, "feed");
      EXPECT_TRUE(feed == feed2);
      ASSERT_TRUE(GetNodeDef(feed, &node_def));
      ASSERT_TRUE(GetNodeDef(feed2, &node_def2));
      EXPECT_EQ(node_def.DebugString(), node_def2.DebugString());
    
    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)
  5. tensorflow/c/eager/c_api_distributed_test.cc

                      .ok());
      ASSERT_TRUE(worker_server2->Start().ok());
      const char dev2_name[] = "/job:localhost/replica:0/task:2/device:CPU:0";
    
      if (inject_error) {
        // Inject a function optimization pass failure when it sees the
        // 'read0_maybe_with_graph_error' op having a requested device `dev2_name`.
        // During execution:
        //   * task:0 processes main function `VariableAddFunctionWithGraphError`
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

                  "localhost:", tensorflow::testing::PickUnusedPortOrDie())});
    
      tensorflow::JobDef* job_def2 = cluster_def->add_job();
      job_def2->set_name("worker");
    
      // Copy over `host:port` at `task_index`
      for (auto task : cluster_server_def.cluster().job(0).tasks()) {
        if (task.first == task_index) {
          job_def2->mutable_tasks()->insert({task.first, task.second});
        }
      }
    
    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)
Back to top