Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for input_edges (0.3 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/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