Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for set_type (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

          arg.setType(new_arg_type);
        }
    
        // Update the function type.
        func.setType(mlir::FunctionType::get(module.getContext(),
                                             func.getBody().getArgumentTypes(),
                                             func.getFunctionType().getResults()));
      }
      return success();
    }
    
    }  // namespace tf_saved_model
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                        esClient.admin().cluster().prepareNodesHotThreads().setIgnoreIdleThreads(ignoreIdleThreads).setInterval(interval)
                                .setThreads(threads).setTimeout(timeout).setType(type).execute().actionGet(timeout);
                append(buf, "cluster_name", () -> response.getClusterName().value()).append(',');
                final String hotThreads = response.getNodesMap().entrySet().stream().map(e -> {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/inittask.go

    		// This slice header is already defined in runtime/proc.go, so we update it here with new contents.
    		sh := ldr.Lookup("runtime.runtime_inittasks", 0)
    		sb := ldr.MakeSymbolUpdater(sh)
    		sb.SetSize(0)
    		sb.SetType(sym.SNOPTRDATA) // Could be SRODATA, but see issue 58857.
    		sb.AddAddr(ctxt.Arch, t)
    		sb.AddUint(ctxt.Arch, uint64(ldr.SymSize(t)/int64(ctxt.Arch.PtrSize)))
    		sb.AddUint(ctxt.Arch, uint64(ldr.SymSize(t)/int64(ctxt.Arch.PtrSize)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier.go

    					Port:     svcInfo.NodePort(),
    					Protocol: protocol,
    					SetType:  utilipset.BitmapPort,
    				}}
    			case utilipset.ProtocolUDP:
    				nodePortSet = proxier.ipsetList[kubeNodePortSetUDP]
    				entries = []*utilipset.Entry{{
    					// No need to provide ip info
    					Port:     svcInfo.NodePort(),
    					Protocol: protocol,
    					SetType:  utilipset.BitmapPort,
    				}}
    			case utilipset.ProtocolSCTP:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

          Value handle = tensor_array_v3_op.getHandle();
          auto handle_type = mlir::cast<TensorType>(handle.getType());
          if (handle_type.getElementType().isInteger(/*width=*/32)) {
            Type resource_tensor_type =
                handle_type.clone(TF::ResourceType::get(rewriter.getContext()));
            handle.setType(resource_tensor_type);
          }
        }
    
        // Special type fixes for scalar tensor types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

        TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype));
    
        auto metadata_arg = metadata_proto.add_args();
        metadata_arg->set_kind(tpu::TPUCompileMetadataProto::Arg::PARAMETER);
        metadata_arg->set_dtype(dtype);
      }
    
      return absl::OkStatus();
    }
    
    absl::Status SetupReturnValues(mlir::ModuleOp module,
                                   tpu::TPUCompileMetadataProto& metadata_proto) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        int64_t index = entry.getFirst();
        Type new_type = entry.getSecond().first;
        int64_t updated_index = entry.getSecond().second;
        auto operand = caller->getOperand(index);
        builder.setInsertionPoint(caller);
        new_operands[index] = builder.create<TF::ReadVariableOp>(
            caller->getLoc(), ArrayRef<Type>{new_type}, ArrayRef<Value>{operand});
        caller->setOperand(index, new_operands[index]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        new_quantized_func.setType(
            FunctionType::get(getContext(), TypeRange{ValueRange{args}},
                              new_quantized_func.getResultTypes()));
        for (auto [partitioned_call_arg, new_quantized_func_arg] :
             llvm::zip_equal(args, new_quantized_func.getArguments())) {
          new_quantized_func_arg.setType(partitioned_call_arg.getType());
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        SmallVector<Value> new_float_func_args{func_args.begin(), func_args.end()};
        new_float_func_args[weight_operand_idx] = reshape_op;
        new_float_func.getArgument(weight_operand_idx).setType(new_shape);
        new_float_func.setType(FunctionType::get(
            getContext(), TypeRange{ValueRange{new_float_func_args}},
            new_float_func.getResultTypes()));
        symbol_table.insert(new_float_func);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

              block.getArgument(it.first->getSecond()));
        }
        var_handle_op.erase();
      }
    
      if (!var_handle_shared_names->empty())
        function.setType(FunctionType::get(function.getContext(), func_arg_types,
                                           func_type.getResults()));
    
      return success();
    }
    
    // Records the current live value for a resource variable and whether a read or
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top