Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,527 for inst (0.07 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

      }
      auto& module = module_or.value();
      std::srand(0);
      for (auto fn : module->getOps<mlir::func::FuncOp>()) {
        for (auto& bb : fn) {
          for (auto& inst : bb) {
            auto attr_id = mlir::StringAttr::get(context, "value");
            if (auto attr = inst.getAttrOfType<mlir::ElementsAttr>(attr_id)) {
              mlir::Attribute rand_val;
              mlir::Type element_type = attr.getShapedType().getElementType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    // Converts an MLIR operation to TensorFlow NodeDef with given node name. This
    // name should be unique to the graph it is being inserted into.
    absl::StatusOr<std::unique_ptr<NodeDef>> GetOperationNodeDef(
        mlir::Operation* inst, llvm::StringRef name);
    
    // Converts MLIR attributes with values to their tensorflow equivalent.
    // "name" and "device" attributes are ignored by default. Use attrs_to_ignore to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/link/linkbig_test.go

    		"ppc64":   "\tMOVD\tR0,R3\n",
    		"ppc64le": "\tMOVD\tR0,R3\n",
    		"arm":     "\tMOVW\tR0,R1\n",
    	}
    	inst := instOnArch[buildcfg.GOARCH]
    	for j := 0; j < FN; j++ {
    		testname := fmt.Sprintf("bigfn%d", j)
    		fmt.Fprintf(&w, "TEXT ยท%s(SB),$0\n", testname)
    		for i := 0; i < 2200000; i++ {
    			fmt.Fprintf(&w, inst)
    		}
    		fmt.Fprintf(&w, "\tRET\n")
    		err := os.WriteFile(tmpdir+"/"+testname+".s", w.Bytes(), 0666)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.h

    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    LogicalResult ConstantFoldFallbackHook(
        Operation *inst, ArrayRef<Attribute> operands,
        SmallVectorImpl<OpFoldResult> &results);  // NOLINT
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 14 20:04:38 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		{`package u1c; type _ interface{~int}`, `~int`, `~int`},
    		{`package u2c; type _ interface{int | string}`, `int | string`, `int | string`},
    		{`package u3c; type _ interface{int | string | ~bool}`, `int | string | ~bool`, `int | string | ~bool`},
    		{`package u3c; type _ interface{int | string | ~bool}`, `int | string`, `int | string`},
    		{`package u3c; type _ interface{int | string | ~bool}`, `~bool`, `~bool`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api_test.go

    		{`package u1c; type _ interface{~int}`, `~int`, `~int`},
    		{`package u2c; type _ interface{int | string}`, `int | string`, `int | string`},
    		{`package u3c; type _ interface{int | string | ~bool}`, `int | string | ~bool`, `int | string | ~bool`},
    		{`package u3c; type _ interface{int | string | ~bool}`, `int | string`, `int | string`},
    		{`package u3c; type _ interface{int | string | ~bool}`, `~bool`, `~bool`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/instances.go

    		if c.Config().Cluster.Name() == name {
    			out = append(out, c)
    		}
    	}
    	return out
    }
    
    func (i Instances) Workloads() (Workloads, error) {
    	var out Workloads
    	for _, inst := range i {
    		ws, err := inst.Workloads()
    		if err != nil {
    			return nil, err
    		}
    		out = append(out, ws...)
    	}
    
    	if len(out) == 0 {
    		return nil, errors.New("got 0 workloads")
    	}
    
    	return out, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/eval_util.h

    // kernel registered for the op and is executed successfully, this fills in the
    // results vector.  If not, results vector is unspecified.
    //
    mlir::LogicalResult EvaluateOperation(
        mlir::Operation* inst, llvm::ArrayRef<mlir::ElementsAttr> operands,
        TFE_Context* context, llvm::SmallVectorImpl<mlir::Attribute>* results);
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Dec 19 06:31:40 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  9. maven-di/src/test/java/org/apache/maven/di/impl/InjectorImplTest.java

        public void bindInterfacesTest() {
            Injector injector = Injector.create().bindImplicit(BindInterfaces.class);
            BindInterfaces.TestInterface<String> inst =
                    injector.getInstance(new Key<BindInterfaces.TestInterface<String>>() {});
            assertNotNull(inst);
        }
    
        static class BindInterfaces {
    
            interface TestInterface<T> {
                T getObj();
            }
    
            @Named
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	if len(instances) != 6 {
    		t.Fatalf("Returned GetProxyServiceTargets' amount %d is not correct", len(instances))
    	}
    	for _, inst := range instances {
    		if inst.Service.Hostname != mock.HelloService.Hostname {
    			t.Fatal("Returned Instance is incorrect")
    		}
    	}
    
    	// Get Instances from mockAdapter2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top