Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 258 for set_type (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

        for (int i = 0; i < arg_shapes.size(); ++i) {
          auto metadata_arg = metadata_proto.add_args();
          metadata_arg->set_kind(
              tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
          metadata_arg->set_dtype(dtype);
        }
        // Set up one dummy retval.
        metadata_proto.add_retvals();
        bool use_tuple_args = true;
        std::vector<tensorflow::tpu::ShardingAndIndex> arg_core_mapping;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader_test.go

    		ldr.CreateStaticSym("dummy")
    	}
    
    	// Check get/set symbol type
    	es3typ := sb3.Type()
    	if es3typ != sym.Sxxx {
    		t.Errorf("SymType(es3): expected %v, got %v", sym.Sxxx, es3typ)
    	}
    	sb3.SetType(sym.SRODATA)
    	es3typ = sb3.Type()
    	if es3typ != sym.SRODATA {
    		t.Errorf("SymType(es3): expected %v, got %v", sym.SRODATA, es3typ)
    	}
    	es3typ = ldr.SymType(es3)
    	if es3typ != sym.SRODATA {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_cluster_util.cc

        }
        return frame_id;
      };
    
      for (Edge const* edge : graph->edges()) {
        if (edge->dst()->IsEnter() || edge->src()->IsExit()) {
          const char* src_type = "pre-enter";
          const char* dst_type = "post-exit";
          int src = edge->src()->id();
          int dst = edge->dst()->id();
    
          if (edge->dst()->IsEnter()) {
            // Lift edges to an "Enter" node to the corresponding frame node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/JvmTestSuitePlugin.java

            });
    
            variant.getOutgoing().artifact(
                target.getTestTask().flatMap(AbstractTestTask::getBinaryResultsDirectory),
                artifact -> artifact.setType(ArtifactTypeDefinition.DIRECTORY_TYPE)
            );
        }
    
        private TestSuiteType createNamedTestTypeAndVerifyUniqueness(Project project, TestSuite suite, String tt) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 21:08:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

      if (llvm::ArrayRef(return_types) == func_type.getResults()) return;
    
      auto updated_type =
          FunctionType::get(func.getContext(), func_type.getInputs(), return_types);
      func.setType(updated_type);
    }
    
    // TODO(jpienaar): Remove when recursive side-effect modeling is added.
    bool IsSideEffectFree(func::FuncOp func) {
      return !func.getBody()
                  .walk([&](Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/switch.go

    		s.done.Append(ir.NewBranchStmt(s.pos, ir.OGOTO, outerLabel))
    
    		var outer exprSwitch
    		outer.exprname = ir.NewUnaryExpr(s.pos, ir.OLEN, s.exprname)
    		outer.exprname.SetType(types.Types[types.TINT])
    
    		for _, run := range runs {
    			// Target label to jump to when we match this length.
    			label := typecheck.AutoLabel(".s")
    
    			// Search within this run of same-length strings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/object.go

    	// 0 for all other objects (including objects in file scopes).
    	order() uint32
    
    	// color returns the object's color.
    	color() color
    
    	// setType sets the type of the object.
    	setType(Type)
    
    	// setOrder sets the order number of the object. It must be > 0.
    	setOrder(uint32)
    
    	// setColor sets the object's color. It must not be white.
    	setColor(color color)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier_test.go

    						IP:       "100.101.102.103",
    						Port:     3001,
    						Protocol: strings.ToLower(string(v1.ProtocolSCTP)),
    						SetType:  utilipset.HashIPPort,
    					},
    					{
    						IP:       "100.101.102.104",
    						Port:     3001,
    						Protocol: strings.ToLower(string(v1.ProtocolSCTP)),
    						SetType:  utilipset.HashIPPort,
    					},
    					{
    						IP:       "100.101.102.105",
    						Port:     3001,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

              block.getArgument(it.first->getValue()));
          op.erase();
        }
      }
      if (lifted_op_and_arg_idx.empty()) return success();
    
      // Update the function signature as well as its uses.
      target_func.setType(FunctionType::get(target_func.getContext(),
                                            block.getArgumentTypes(),
                                            func_type.getResults()));
    
      IRMapping mapping;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/go/types/object.go

    	// 0 for all other objects (including objects in file scopes).
    	order() uint32
    
    	// color returns the object's color.
    	color() color
    
    	// setType sets the type of the object.
    	setType(Type)
    
    	// setOrder sets the order number of the object. It must be > 0.
    	setOrder(uint32)
    
    	// setColor sets the object's color. It must not be white.
    	setColor(color color)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top