Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for _retval0 (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        return op.emitOpError(
            llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kOutputShardingAttr,
                          op.getNumResults(), output_shardings.size()));
    
      // Set retvals metadata in proto.
      for (auto output_sharding_and_idx : llvm::enumerate(output_shardings))
        if (failed(SetOpSharding(op, output_sharding_and_idx.value(),
                                 tensorflow::kOutputShardingAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8>
          output_buffer_to_size;
      for (auto retval : llvm::enumerate(old_terminator->getOperands())) {
        auto it = buffer_to_size.find(retval.value());
        if (it == buffer_to_size.end()) continue;
        output_buffer_to_size.emplace_back(retval.index(), new_outputs.size(),
                                           it->getSecond().fixed);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/provision_test.go

    	ctrl, err := newTestController(ctx, nil, nil, false)
    	if err != nil {
    		t.Fatalf("Construct PersistentVolume controller failed: %v", err)
    	}
    	retVal := ctrl.provisionClaim(ctx, nil)
    	if retVal != nil {
    		t.Errorf("Expected nil return but got %v", retVal)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    static const char kImportModelDefaultGraphFuncName[] = "main";
    
    // Please refer to the TFG dialect description for the list of used attributes.
    // Belows are the attributes in TFE.
    // TFE Arguments and Results (Got from "_Arg",
    // "_Retval", .etc)
    //  NodeDef.device <-> "tf.device"
    //  NodeDef.attr <-> "tf."
    //
    // TFE general operations
    //  NodeDef.device <-> "device"
    //
    // The following two functions are only used for mapping/excluding attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/util/util.go

    	srcX, err := src.UnmarshalNew()
    	if err != nil {
    		return nil, err
    	}
    
    	// Merge the two typed protos
    	merge.Merge(dstX, srcX)
    
    	// Convert the merged proto back to dst
    	retVal := protoconv.MessageToAny(dstX)
    
    	return retVal, nil
    }
    
    // AppendLbEndpointMetadata adds metadata values to a lb endpoint using the passed in metadata as base.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. src/runtime/cgocall.go

    type argset struct {
    	args   unsafe.Pointer
    	retval uintptr
    }
    
    // wrapper for syscall package to call cgocall for libc (cgo) calls.
    //
    //go:linkname syscall_cgocaller syscall.cgocaller
    //go:nosplit
    //go:uintptrescapes
    func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr {
    	as := argset{args: unsafe.Pointer(&args[0])}
    	cgocall(fn, unsafe.Pointer(&as))
    	return as.retval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.cc

      for (int i = 0, end = ctx->num_outputs(); i < end; ++i) {
        const TensorShape& shape = output_tensor_shapes[i];
        const DataType& type = compilation_result->outputs[i].type;
        VLOG(2) << "Populating output for retval " << i << " shape "
                << shape.DebugString() << " type " << DataTypeString(type);
    
        if (compilation_result->outputs[i].is_constant) {
          TF_RETURN_IF_ERROR(SetOutputForConstant(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

           llvm::enumerate(callee.front().getTerminator()->getOperands())) {
        auto retval = entry.value();
        if (!mlir::isa<TF::ResourceType>(getElementTypeOrSelf(retval.getType()))) {
          result->old_to_new_output_indices.push_back(non_resource_results++);
          continue;
        }
        auto aliasing_arg = mlir::dyn_cast<BlockArgument>(retval);
        if (!aliasing_arg) {
          return callee.emitOpError("unsupported function call: ")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      OpBuilder builder(op);
      builder.setInsertionPointAfter(op);
      for (auto retval :
           llvm::enumerate(func.front().getTerminator()->getOperands())) {
        if (propagate_caller_callee_constants_) {
          auto retval_op = retval.value().getDefiningOp();
          if (isa_and_nonnull<TF::ConstOp>(retval_op)) {
            op->getResult(retval.index())
                .replaceAllUsesWith(builder.clone(*retval_op)->getResult(0));
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                try ( DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + server + "[\\PIPE\\srvsvc]", getContext()) ) {
                    handle.sendrecv(rpc);
                    if ( rpc.retval != 0 ) {
                        throw new SmbException(rpc.retval, true);
                    }
                    aces = rpc.getSecurity();
                    if ( aces != null ) {
                        processAces(aces, resolveSids);
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
Back to top