Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for mutable_attr (0.12 sec)

  1. tensorflow/compiler/jit/compilability_check_util_test.cc

          /*out_def=*/{"res:float"},
          /*attr_def=*/{},
          /*node_def=*/{{{"t0"}, "Identity", {"x"}, {{"T", DT_FLOAT}}}},
          /*ret_def*/ {{"res", "t0:output"}});
    
      (*identity_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute;
    
      FunctionDef call_identity = FunctionDefHelper::Create(
          "CallIdentity",
          /*in_def=*/{"x:float"},
          /*out_def=*/{"z:float"}, /*attr_def=*/{},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/build_xla_ops_pass.cc

                              num_resource_inputs),
          std::back_inserter(result->resource_inputs), IncomingEdgeAsOutput);
    
      result->function.set_name(n->type_string());
      *result->function.mutable_attr() = n->def().attr();
      return absl::OkStatus();
    }
    
    Status CopyIncomingControlEdges(Graph* g, Node* from, Node* to) {
      for (const Edge* e : from->in_edges()) {
        if (e->IsControlEdge()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      node_def.set_name(op->Name());
      node_def.set_op(op->Name());
      for (int i = 0; i < num_inputs; ++i) {
        node_def.add_input("dummy_input");
      }
      OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr());
    
      const tensorflow::OpRegistrationData* op_reg_data;
      status->status =
          tensorflow::OpRegistry::Global()->LookUp(node_def.op(), &op_reg_data);
      if (!status->status.ok()) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

    // an attribute.
    void AnnotateEagerRuntimeConstructionContext(
        tensorflow::FunctionDef& function_def) {
      tensorflow::AttrValue value;
      SetAttrValue("kEagerRuntime", &value);
      (*function_def.mutable_attr())["_construction_context"] = value;
    }
    
    }  // namespace
    
    extern "C" {
    
    TFE_ContextOptions* TFE_NewContextOptions() { return new TFE_ContextOptions; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top