Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for setAttr (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          for (const auto& attr_name : attr_names) {
            if (!global_iter_id_op->hasAttr(attr_name)) continue;
            offset->setAttr(attr_name, global_iter_id_op->getAttr(attr_name));
            new_global_iter_id->setAttr(attr_name,
                                        global_iter_id_op->getAttr(attr_name));
          }
          // Make the next function to get inlined use a different offset.
          ++offset_value;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      // use it in exports or if there are breaking changes
      module->setAttr("tfl.schema_version",
                      builder.getI32IntegerAttr(model->version));
      if (!model->description.empty()) {
        module->setAttr("tfl.description",
                        builder.getStringAttr(model->description));
      }
    
      if (!metadata_attrs.empty()) {
        module->setAttr("tfl.metadata", builder.getDictionaryAttr(metadata_attrs));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      Operation* parent_op = op->getParentOp();
      if (!parent_op) return false;
      return HasOutsideCompilationAncestor(parent_op);
    }
    
    Operation* ApplyXlaHostTransferAttr(Operation* op, OpBuilder& builder) {
      op->setAttr("_xla_has_host_transfer", builder.getBoolAttr(true));
      return op;
    }
    
    // Creates a tf._XlaSendFromHost or tf._XlaSendFromHostV2 op. If device ordinal
    // is present, a tf._XlaSendFromHostV2 op is created instead.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

                                                key_and_value_pair[0],
                                                "' attribute"));
            continue;
          }
          inner_op.setAttr(llvm::StringRef(std::string(key_and_value_pair[0])),
                           identifier_to_attr[llvm::StringRef(
                               std::string(key_and_value_pair[1]))]);
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      auto new_call = builder.create<CallOpType>(
          call_op.getLoc(),
          lifting_info.lifted_callee.getFunctionType().getResults(), new_operands,
          call_op->getAttrs());
      new_call->setAttr("f",
                        SymbolRefAttr::get(builder.getContext(),
                                           lifting_info.lifted_callee.getName()));
      AddLoadsStoresOutsideControlFlowOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    }
    
    // KeyctlRestrictKeyring implements the KEYCTL_RESTRICT_KEYRING command. This
    // command limits the set of keys that can be linked to the keyring, regardless
    // of keyring permissions. The command requires the "setattr" permission.
    //
    // When called with an empty keyType the command locks the keyring, preventing
    // any further keys from being linked to the keyring.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                    if (property.setMethods.isEmpty()) {
                        Set<Class<?>> appliedTo = new HashSet<>();
                        for (Method setter : property.setters) {
                            if (appliedTo.add(setter.getParameterTypes()[0])) {
                                visitor.addSetMethod(property, setter);
                            }
                        }
                    } else if (extensibleTypeHandler.conventionProperties.contains(property)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  8. pkg/kubelet/nodestatus/setters_test.go

    				// but we may choose to sort in the setter at some future point
    				// (e.g. if the image cache stopped sorting for us)
    				sort.Sort(sliceutils.ByImageSize(tc.imageList))
    				return tc.imageList, tc.imageListError
    			}
    			// construct setter
    			setter := Images(tc.maxImages, imageListFunc)
    			// call setter on node
    			node := &v1.Node{}
    			err := setter(ctx, node)
    			require.Equal(t, tc.expectError, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

            WeaklyTypeReferencingMethod<?, ?> setter = property.getAccessor(SETTER);
            if (setter != null && property.getSchema() instanceof ScalarValueSchema) {
                // TODO - should we support this?
                // Adds a void $propName(Object value) method that simply delegates to the converting setter method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

    	a.Atr = attr
    	a.Cls = uint8(cls)
    	a.Value = value
    	a.Data = data
    }
    
    // Each DIE (except the root ones) has at least 1 attribute: its
    // name. getattr moves the desired one to the front so
    // frequently searched ones are found faster.
    func getattr(die *dwarf.DWDie, attr uint16) *dwarf.DWAttr {
    	if die.Attr.Atr == attr {
    		return die.Attr
    	}
    
    	a := die.Attr
    	b := a.Link
    	for b != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top