Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AttrSlice (0.22 sec)

  1. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

          {"dx: float"},
          // Attr defs
          {},
          // Nodes
          nodes);
      return absl::OkStatus();
    }
    
    // A gradient containing only supported operators
    Status SupportedGrad(const AttrSlice& attrs, FunctionDef* g) {
      // clang-format off
      return GradForUnaryCwise(g, {
          {{"y"}, "Tanh", {"x"}},
          {{"y2"}, "Square", {"y"}, {}, {"dy"}},
          FunctionDefHelper::Const("one", 1.0f),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      call_node_->set_assigned_device_name(device_);
    
      return absl::OkStatus();
    }
    
    Status Encapsulator::GetFunctionNameAttr(Node const* node, string* attr) const {
      AttrSlice attrs = node->attrs();
      attr->clear();
      for (const auto& node_attr : attrs) {
        if (node_attr.first == group_attribute_) {
          TF_RETURN_IF_ERROR(AttrValueHasType(node_attr.second, "string"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top