Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for mutable_inputs (0.91 sec)

  1. tensorflow/cc/tools/freeze_saved_model_test.cc

                                     const std::unordered_set<string>& outputs) {
        SignatureDef signature_def;
        for (const string& input : inputs) {
          (*signature_def.mutable_inputs())[input].set_name(input);
        }
        for (const string& output : outputs) {
          (*signature_def.mutable_outputs())[output].set_name(output);
        }
        return signature_def;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

            registry.get("beans.sb1", SpecialBean)
            registry.bindAllReferences()
    
            then:
            UnboundModelRulesException e = thrown()
            e.rules.size() == 1
            e.rules.first().mutableInputs.first().path == "beans.sb1.foo"
        }
    
        static class SetValue extends RuleSource {
            @Mutate
            void set(Bean bean) {
                bean.value = "changed"
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
Back to top