Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Extracts the attributes of a MLIR operation and populates the converted
    // attributes in a proto map<string, AttrValue>.
    Status GetAttrValuesFromOperation(
        mlir::Operation* inst, llvm::StringRef name,
        const tensorflow::OpRegistrationData* op_reg_data,
        bool ignore_unregistered_attrs, AttrValueMap* attributes);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

        attr->insert({{"T", attr->at("SrcT")}});
        attr->erase("SrcT");
        attr->erase("DstT");
        attr->erase("Truncate");
      }
    }
    
    }  // namespace
    
    Status GetAttrValuesFromOperation(
        mlir::Operation* inst, llvm::StringRef name,
        const tensorflow::OpRegistrationData* op_reg_data,
        bool ignore_unregistered_attrs, AttrValueMap* attributes) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top