Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 152 for strref (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/strip_tf_attributes.cc

    struct StripTfAttributesPass
        : public impl::StripTfAttributesPassBase<StripTfAttributesPass> {
      void runOnOperation() override;
    };
    
    bool ShouldStripAttr(NamedAttribute &namedAttr) {
      StringRef name = namedAttr.getName().strref();
      if (name.starts_with("tf.") || name.starts_with("tf_")) return true;
      StringRef value = namedAttr.getValue().getDialect().getNamespace();
      return value == "tf" || value.starts_with("tf_");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

      auto entry_function_attr =
          func_op->getAttrOfType<DictionaryAttr>("tf.entry_function");
    
      SmallVector<StringRef> inputs;
      mlir::dyn_cast_or_null<StringAttr>(entry_function_attr.get("inputs"))
          .strref()
          .split(inputs, /*Separator=*/",");
    
      return inputs;
    }
    
    void ConvertMainArgAttrs(func::FuncOp main_func_op, const int arg_idx,
                             const StringRef index_path) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/device_util.cc

        if (!DeviceNameUtils::ParseFullName(name.str(), &device))
          return op->emitOpError(
              llvm::formatv("bad '{0}' attribute, '{1}', not a valid device",
                            kDevicesAttr, name.strref()));
    
        if (auto gpu_metadata = mlir::dyn_cast<mlir::TF::GpuDeviceMetadata>(attr)) {
          devices->AddGpuDevice(device, gpu_metadata);
        } else {
          devices->AddDevice(device);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("store1", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "zero1"),
    			Valu("store2", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr2", "v", "store1"),
    			Valu("store3", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr1", "v", "store2"),
    			Valu("store4", OpStore, types.TypeMem, 0, c.config.Types.Bool, "addr3", "v", "store3"),
    			Goto("exit")),
    		Bloc("exit",
    			Exit("store3")))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/ResolutionResultsStoreFactoryTest.groovy

            def store2 = stores1.nextBinaryStore() // rolled
            def store3 = f.createStoreSet().nextBinaryStore()
    
            then:
            store.file != store2.file //rolled
            [store.file, store2.file, store3.file].each { it.exists() }
    
            when:
            new CompositeStoppable().add(store, store2, store3)
    
            then:
            [store.file, store2.file, store3.file].each { !it.exists() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. pilot/pkg/config/aggregate/config_test.go

    func TestAggregateStoreWrite(t *testing.T) {
    	g := NewWithT(t)
    
    	store1 := memory.Make(collection.SchemasFor(collections.HTTPRoute))
    	store2 := memory.Make(collection.SchemasFor(collections.HTTPRoute))
    
    	stores := []model.ConfigStore{store1, store2}
    
    	store, err := makeStore(stores, store1)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	if _, err := store.Create(config.Config{
    		Meta: config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/CachedStoreFactoryTest.groovy

            def store2 = factory.createCachedStore("conf2")
    
            expect:
            store1.load(() -> results1) == results1
            store1.load(() -> { assert false }) == results1
            store1b.load(() -> { assert false }) == results1
            store2.load(() -> results2) == results2
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/stored.rules

    Anže Sodja <******@****.***> 1717576978 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/configurationCache/problemsFixed/tests/store.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 154 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/configurationCache/problemsGroovy/tests/store.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 568 bytes
    - Viewed (0)
Back to top