Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Op (0.15 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

      const std::vector<std::string>& op_names =
          tensorflow::unwrap(ctx)->GetLoggedOpsTestonly();
    
      std::ostringstream op_names_oss;
      for (const auto& op : op_names) {
        op_names_oss << op << ", ";
      }
      const std::string& op_names_str = op_names_oss.str();
      void* data = tensorflow::port::Malloc(op_names_str.length());
      op_names_str.copy(static_cast<char*>(data), op_names_str.length(), 0);
      buf->data = data;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_experimental.cc

      NodeDef node_def;
      tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op);
      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 =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top