Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsIfNode (0.1 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        if (n->type_string() == "_XlaRecvAtHost" ||
            n->type_string() == "_XlaSendFromHost") {
          n->ClearAttr("device_ordinal");
          n->AddAttr("device_ordinal", device_ordinal_value);
        } else if (n->IsIfNode()) {
          for (const string& attr_name :
               std::vector<string>{"then_branch", "else_branch"}) {
            NameAttrList branch_func;
            TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), attr_name, &branch_func));
    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

      // Map Case/If/While and StatelessCase/If/While op in TensorFlow to the common
      // Case/If/While op in MLIR and add the differentiating attribute.
      if (node.IsCaseNode()) composite_control_flow_op("Case");
      if (node.IsIfNode()) composite_control_flow_op("If");
      if (node.IsWhileNode()) {
        composite_control_flow_op("While");
        auto* output_shapes = node.attrs().Find("output_shapes");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top