Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for setStop (0.28 sec)

  1. src/cmd/compile/internal/typecheck/typecheck.go

    		n.Args = list
    	case *ir.ReturnStmt:
    		n.Results = list
    	case *ir.AssignListStmt:
    		if n.Op() != ir.OAS2FUNC {
    			base.Fatalf("rewriteMultiValueCall: invalid op %v", n.Op())
    		}
    		as.SetOp(ir.OAS2FUNC)
    		n.SetOp(ir.OAS2)
    		n.Rhs = make([]ir.Node, len(list))
    		for i, tmp := range list {
    			n.Rhs[i] = AssignConv(tmp, n.Lhs[i].Type(), "assignment")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/services/internal/DefaultBuildServicesRegistryTest.groovy

            listenerManager.getBroadcaster(BuildListener).buildFinished(Stub(BuildResult))
        }
    
        interface Params extends BuildServiceParameters {
            String getProp()
    
            void setProp(String value)
        }
    
        static abstract class ServiceImpl implements BuildService<Params> {
            static List<ServiceImpl> instances = []
    
            String getProp() {
                return getParameters().prop
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/shape_inference.cc

            TensorShapeProto shape_proto;
            context->ShapeHandleToProto(handle, &shape_proto);
            if (!shape_proto.unknown_rank()) {
              NodeDef const_def;
              const_def.set_op("Const");
              Node* var_node;
              TF_RETURN_IF_ERROR(n->input_node(0, &var_node));
              const_def.set_name(
                  graph->NewName(absl::StrCat("var_shape_", var_node->name())));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      if (!name.empty())
        node_def->set_name(std::string(ParseTensorName(name.str()).node()));
      else
        node_def->set_name(
            std::string(op_to_name_.GetUniqueName(func.getName().str())));
    
      node_def->set_op(FunctionLibraryDefinition::kArgOp);
    
      mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType());
      if (auto resource_type =
              mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      if (!name.empty())
        node_def->set_name(std::string(ParseTensorName(name.str()).node()));
      else
        node_def->set_name(
            std::string(op_to_name_.GetUniqueName(func.getName().str())));
    
      node_def->set_op(FunctionLibraryDefinition::kArgOp);
    
      mlir::TensorType arg_type = mlir::cast<mlir::TensorType>(arg.getType());
      if (auto resource_type =
              mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_cluster_util.cc

        const absl::flat_hash_map<absl::string_view, int>& histogram) {
      for (const auto& pair : histogram) {
        XlaAutoClusteringSummary::OpAndCount* new_entry = result->Add();
        new_entry->set_op(std::string(pair.first));
        new_entry->set_count(pair.second);
      }
    
      absl::c_sort(*result, [](const XlaAutoClusteringSummary::OpAndCount& a,
                               const XlaAutoClusteringSummary::OpAndCount& b) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

        TF_ASSIGN_OR_RETURN(auto tf_name,
                            GetTensorFlowOpName(inst->getName().getStringRef()));
        op_name.append(tf_name);
      }
    
      node_def->set_name(name.str());
      node_def->set_op(std::string(op_name.str()));
    
      // Update NodeDef constructed out of an MLIR Case/If/While op to map it to
      // either TensorFlow StatelessX or X op depending on the additional attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

      const int num_inputs = input_shapes->num_items;
      NodeDef node_def;
      tensorflow::ImmediateExecutionOperation* op = tensorflow::unwrap(tfe_op);
      node_def.set_name(op->Name());
      node_def.set_op(op->Name());
      for (int i = 0; i < num_inputs; ++i) {
        node_def.add_input("dummy_input");
      }
      OperationFromInterface(op)->Attrs().FillAttrValueMap(node_def.mutable_attr());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/assign.go

    	// same type as the variable on the lhs.
    	if ok := n.Lhs[1]; !ir.IsBlank(ok) && ok.Type().IsBoolean() {
    		call.Type().Field(1).Type = ok.Type()
    	}
    	n.Rhs = []ir.Node{call}
    	n.SetOp(ir.OAS2FUNC)
    
    	// don't generate a = *var if a is _
    	if ir.IsBlank(a) {
    		return walkExpr(typecheck.Stmt(n), init)
    	}
    
    	var_ := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(t.Elem()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/switch.go

    	// because walkExpr will lower the string
    	// conversion into a runtime call.
    	// See issue 24937 for more discussion.
    	if cond.Op() == ir.OBYTES2STR && allCaseExprsAreSideEffectFree(sw) {
    		cond := cond.(*ir.ConvExpr)
    		cond.SetOp(ir.OBYTES2STRTMP)
    	}
    
    	cond = walkExpr(cond, sw.PtrInit())
    	if cond.Op() != ir.OLITERAL && cond.Op() != ir.ONIL {
    		cond = copyExpr(cond, cond.Type(), &sw.Compiled)
    	}
    
    	base.Pos = lno
    
    	s := exprSwitch{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top