Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mutable_inputs (0.29 sec)

  1. tensorflow/compiler/jit/encapsulate_util.cc

          placeholder_node = iter->second;
        }
        g->AddEdge(placeholder_node, 0, dst, dst_input);
    
        // Replace `e->dst()` because its input node changed.
        NodeDef new_def = dst->def();
        *new_def.mutable_input(dst_input) = placeholder_node->name();
        TF_ASSIGN_OR_RETURN(Node * dst_replace_node, ReplaceNode(g, dst, new_def));
    
        // Other edge in `edges` might have `e->dst()` as src or dst
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_cluster_util.cc

      for (int64_t i = 0; i < num_nodes; ++i) {
        NodeDef* node = gdef->mutable_node(i);
        // Stable sort control inputs and leave the order of data inputs unchanged.
        std::stable_sort(node->mutable_input()->begin(),
                         node->mutable_input()->end(),
                         [](const string& a, const string& b) {
                           bool a_is_control = absl::StartsWith(a, "^");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. tensorflow/c/kernels_experimental.cc

      if (!IsRefType(context->input_dtype(0))) {
        tf_status->status =
            InvalidArgument("TF_DestroyTemporaryVariable requires input is ref");
        return;
      }
      Tensor tmpvar = context->mutable_input(0, false);
      context->set_output(0, tmpvar);
    
      tensorflow::ResourceMgr* rm = context->resource_manager();
      OP_REQUIRES(context, rm,
                  absl::InternalError("No per-step resource manager."));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top