Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 167 for setAttr (3.27 sec)

  1. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

                                    PatternRewriter& rewriter) const override {
        auto input_op = op.getInput().getDefiningOp();
        if (auto q = llvm::dyn_cast_or_null<QuantizeOp>(input_op)) {
          if (!q->getAttr(mlir::quant::kVolatileOpAttrName)) return failure();
    
          if (remove_volatile_ops_type == kPreserveInputsAndOutputs) {
            // Don't remove leading and trailing QDQ for PTQ workflow, so the io
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

            operands.push_back(new_control_input);
          }
        }
        state.addOperands(operands);
        Operation* new_op = builder.create(state);
        item.replaceAllUsesWith(new_op);
        new_op->setAttrs(item.getAttrDictionary());
        item.erase();
      }
      AddStatefulControlFlowDependencies(graph_op);
    }
    
    // Populates an empty IslandOp and with a NoOp or Identity/IdentityN depending
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        return failure();
      }
    
      // Collect all the undefined attributes used in the inputs.
      llvm::SmallVector<StringAttr, 4> undefined_attrs;
      for (auto attr : input_used_attrs) {
        if (!func->getAttr(attr.getValue())) {
          undefined_attrs.push_back(attr);
        }
      }
    
      // Verify the argument order: tensors, tensor list, attributes; and also
      // verify there is at most one tensor list argument.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/decompose.cc

            new_operands.push_back(build_list_op.getOut());
          } else {
            auto attr_name = compose_func.getArgAttrOfType<StringAttr>(
                arg.index(), kAttrArgumentNameAttr);
            auto attribute = op->getAttr(attr_name.getValue());
            if (!attribute) {
              attribute =
                  compose_func.getArgAttr(arg.index(), kAttrArgumentDefaultAttr);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        session.jvmTypeMapper.mapType(this, mode, signatureWriter) {
            val containingFile = useSitePosition.containingKtFile
            // parameters for default setters does not have kotlin origin, but setter has
                ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile
                ?: return@mapType null
            val correspondingImport = containingFile.findImportByAlias(it) ?: return@mapType null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    			Controller:         references[i].Controller,
    			BlockOwnerDeletion: references[i].BlockOwnerDeletion,
    		})
    	}
    	if len(references) == 0 {
    		// This is necessary for the test to pass because the setter will make a
    		// non-nil slice.
    		myAPIObject2.ObjectMeta.OwnerReferences = make([]metav1.OwnerReference, 0)
    	}
    	return myAPIObject2, metaOwnerReferences
    }
    
    func testGetOwnerReferences(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            abstract int getNumber()
            abstract void setNumber(int value)
        }
    
        def "rule class can have abstract getter and setter"() {
            expect:
            extract(AbstractPropertyRules).empty
        }
    
        def "can create instance of rule class with abstract getter and setter"() {
            when:
            def schema = extractor.extract(AbstractPropertyRules)
            def instance = schema.factory.create()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

         *     <li>{@code addJvmArguments(...)} and {@code setJvmArguments(...)}</li>
         *     <li>build scripts</li>
         * </ul>
         * <p>
         * Note: this method has "setter" behavior, so the last invocation will overwrite previously set values.
         *
         * @param systemProperties the system properties add to the Gradle process. Passing {@code null} resets to the default behavior.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

      if (!op->hasAttr(TF::kTpuReplicateAttr)) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "missing _tpu_replicate attr");
        return false;
      }
      auto opattr = op->getAttr(TF::kTpuReplicateAttr);
      if (opattr != attr) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "invalid _tpu_replicate attr.")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

            file("merge.txt").text == "one,two"
        }
    
        @Issue("https://github.com/gradle/gradle/issues/12832")
        def "can use += convenience in Groovy DSL to add elements to file collection when property has legacy setter"() {
            taskTypeLogsInputFileCollectionContent()
            buildFile << """
                class LegacyTask extends ShowFilesTask {
                    void setInFiles(def c) {
                        inFiles.from = c
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top