Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for clear_attr (0.12 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

            (*branch_func.mutable_attr())["_device_ordinal"] = device_ordinal_value;
            n->ClearAttr(attr_name);
            n->AddAttr(attr_name, branch_func);
          }
        } else if (HasNodeAttr(n->def(), "_device_ordinal")) {
          // Function call node containing outside compilation.
          n->ClearAttr("_device_ordinal");
          n->AddAttr("_device_ordinal", device_ordinal_value);
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        dtype = node->attr().at("output_types").list().type(0);
      }
      // Update op name, drop inputs and set attributes required by the Placeholder
      // op.
      *node->mutable_op() = "Placeholder";
      node->clear_attr();
      node->clear_input();
      AddNodeAttr("dtype", dtype, node);
      AddNodeAttr("shape", it->second.shape, node);
      return absl::OkStatus();
    }
    
    // Preprocesses GraphDef before it can be converted to Graph by,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

    }
    
    void TF_ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
                      TF_Status* status) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      op->node.ClearAttr(attr_name);
      RecordMutation(graph, *op, "clearing attribute");
    }
    
    void TF_SetFullType(TF_Graph* graph, TF_Operation* op,
                        const TF_Buffer* full_type_proto) {
    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