Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for input_edge (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      // Collect the control operands separately, they will be held by the island.
      mlir::SmallVector<mlir::Value, 8> control_operands;
    
      for (const auto* input_edge : in_edges) {
        const Node& input_node = *input_edge->src();
        if (input_node.IsSource()) {
          if (in_edges.size() != 1) {
            return errors::FailedPrecondition(
                "The node has other inputs besides the _Source node");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        int num_inputs, Node* send_from_host_node) {
      std::vector<PartialTensorShape> results(num_inputs);
      for (int i = 0; i < num_inputs; i++) {
        const Edge* e;
        if (!send_from_host_node->input_edge(i, &e).ok()) {
          return std::nullopt;
        }
    
        std::vector<PartialTensorShape> shapes;
        if (!GetNodeAttr(e->src()->attrs(), kXlaInferredShapesAttrName, &shapes)
                 .ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        return -1;
      }
      return iter->second.second - iter->second.first;
    }
    
    TF_Output TF_OperationInput(TF_Input oper_in) {
      const tensorflow::Edge* edge;
      Status s = oper_in.oper->node.input_edge(oper_in.index, &edge);
      if (!s.ok()) {
        return {nullptr, -1};
      }
    
      return {ToOperation(edge->src()), edge->src_output()};
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top