Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for attr_key (0.19 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

              device.has_job && device.job == jobType) {
            for (const auto& attr : node->attrs()) {
              auto attr_key = attr.first;
              auto attr_value = attr.second;
              if (attr_key == attrKey &&
                  attr_value.value_case() == AttrValue::kType &&
                  attr_value.type() == DT_RESOURCE) {
                return true;
                break;
              }
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/test/fakes/gce_metadata_server/main.go

    	instIDPath     = metaPrefix + "/instance/id"
    	instancePath   = metaPrefix + "/instance/name"
    	zonePath       = metaPrefix + "/instance/zone"
    	attrKey        = "attribute"
    	attrPath       = metaPrefix + "/instance/attributes/{" + attrKey + "}"
    )
    
    var instAttrs = map[string]string{
    	"instance-template": "some-template",
    	"created-by":        "some-creator",
    	"cluster-name":      "test-cluster",
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

                           [](const auto& attr_def) {
                             return attr_def.name() == "use_node_name_sharing" &&
                                    attr_def.type() == "bool";
                           }))
            return false;
        }
    
        if (!std::any_of(op_def.attr().begin(), op_def.attr().end(),
                         [](const auto& attr_def) {
                           return attr_def.name() == "shared_name" &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:33:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top