Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ConvertAttributes (0.41 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

                                     bool ignore_unregistered_attrs,
                                     AttrValueMap* attributes) {
      if (derived_attrs) {
        TF_RETURN_WITH_CONTEXT_IF_ERROR(
            ConvertAttributes(derived_attrs.getValue(), /*attrs_to_ignore=*/{},
                              /*remove_ref_type=*/true, attributes),
            "while converting derived attributes for node: ",
            mlir::StringRefToView(name));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    // Converts MLIR attributes with values to their tensorflow equivalent.
    // "name" and "device" attributes are ignored by default. Use attrs_to_ignore to
    // specify any other attributes that should be ignored.
    Status ConvertAttributes(
        llvm::ArrayRef<mlir::NamedAttribute> attrs,
        const absl::flat_hash_set<absl::string_view>& attrs_to_ignore,
        bool remove_ref_type, AttrValueMap* values);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

                            AttrValue* value) {
      TF_RETURN_IF_ERROR(ConvertAttribute(
          mlir::cast<mlir::FlatSymbolRefAttr>(attr.getName()), value));
      TF_RETURN_IF_ERROR(ConvertAttributes(attr.getAttrs().getValue(),
                                           /*attrs_to_ignore=*/{}, remove_ref_type,
                                           value->mutable_func()->mutable_attr()));
      return absl::OkStatus();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      absl::flat_hash_set<absl::string_view> attrs_to_ignore = {kDeviceAttr,
                                                                kAliasingAttr};
      TF_RETURN_IF_ERROR(ConvertAttributes(func_arg_i_attrs, attrs_to_ignore,
                                           /*remove_ref_type=*/false,
                                           node_def->mutable_attr()));
    
      return node_def;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      absl::flat_hash_set<absl::string_view> attrs_to_ignore = {kDeviceAttr,
                                                                kAliasingAttr};
      TF_RETURN_IF_ERROR(ConvertAttributes(func_arg_i_attrs, attrs_to_ignore,
                                           /*remove_ref_type=*/false,
                                           node_def->mutable_attr()));
    
      return node_def;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top