Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for setStop (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        }
    
        class MyAspect implements ModelSchemaAspect {}
    
        @Managed
        static abstract class MyTypeOfAspect {
            abstract String getProp()
    
            abstract void setProp(String prop)
    
            String getCalculatedProp() {
                return "calc"
            }
        }
    
        def "aspects can be extracted"() {
            def aspect = new MyAspect()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        response.use {
          assertEquals(200, response.code)
          assertEquals(Protocol.HTTP_2, response.protocol)
        }
    
        // Only logs to the test logger above
        // Will fail if "adb shell setprop log.tag.okhttp.Http2 DEBUG" is called
        assertEquals(setOf(OkHttpTest::class.java.name), testHandler.calls.keys)
      }
    
      fun testCachedRequest() {
        enableTls()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/walk/convert.go

    	if n.TypeWord == nil || n.TypeWord.Op() == ir.OADDR && n.TypeWord.(*ir.AddrExpr).X.Op() == ir.OLINKSYMOFFSET {
    		// Fixed (not loaded from a dictionary) type.
    		ta := ir.NewTypeAssertExpr(base.Pos, c, toType)
    		ta.SetOp(ir.ODOTTYPE2)
    		// Allocate a descriptor for this conversion to pass to the runtime.
    		ta.Descriptor = makeTypeAssertDescriptor(toType, true)
    		rhs = ta
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K 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