- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,911 for templatize (0.23 sec)
-
tensorflow/compiler/jit/device_compiler.h
// to disk. // // Since XLA computations must have static shapes, DeviceCompiler generates a // new XLA computation for each new set of input shapes. // TODO(b/255826209): De-templatize once we've moved to Device API completely. template <typename ExecutableType, typename ClientType> class DeviceCompiler : public ResourceBase { public: DeviceCompiler( std::unique_ptr<DeviceExecutablePersistor<ExecutableType, ClientType>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 22.1K bytes - Viewed (0) -
docs/en/docs/reference/templating.md
# Templating - `Jinja2Templates` You can use the `Jinja2Templates` class to render Jinja templates. Read more about it in the [FastAPI docs for Templates](https://fastapi.tiangolo.com/advanced/templates/). You can import it directly from `fastapi.templating`: ```python from fastapi.templating import Jinja2Templates ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 365 bytes - Viewed (0) -
docs/de/docs/reference/templating.md
# Templating – `Jinja2Templates` Sie können die `Jinja2Templates`-Klasse verwenden, um Jinja-Templates zu rendern. Lesen Sie mehr darüber in der [FastAPI-Dokumentation zu Templates](../advanced/templates.md). Sie können die Klasse direkt von `fastapi.templating` importieren: ```python from fastapi.templating import Jinja2Templates ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Feb 21 22:26:02 UTC 2024 - 386 bytes - Viewed (0) -
src/html/template/template.go
ret.set[name] = &Template{ nil, x, x.Tree, ret.nameSpace, } } // Return the template associated with the name of this template. return ret.set[ret.Name()], nil } // New allocates a new HTML template with the given name. func New(name string) *Template { ns := &nameSpace{set: make(map[string]*Template)} ns.esc = makeEscaper(ns) tmpl := &Template{ nil, template.New(name),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/text/template/template.go
name: name, } t.init() return t } // Name returns the name of the template. func (t *Template) Name() string { return t.name } // New allocates a new, undefined template associated with the given one and with the same // delimiters. The association, which is transitive, allows one template to // invoke another with a {{template}} action. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/template.go
import ( "encoding/base64" "fmt" "io" "reflect" "text/template" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/json" ) // GoTemplatePrinter is an implementation of ResourcePrinter which formats data with a Go Template. type GoTemplatePrinter struct { rawTemplate string template *template.Template } func NewGoTemplatePrinter(tmpl []byte) (*GoTemplatePrinter, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 23:00:24 UTC 2019 - 3.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/config/param/template.go
package param import ( "text/template" "text/template/parse" "istio.io/istio/pkg/util/sets" ) // Template that has been parsed to search for template parameters. type Template struct { *template.Template params sets.String } // Parse the given template to find the set of template parameters used. func Parse(t *template.Template) *Template { return &Template{ Template: t,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 15 21:32:48 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
build(builder, result, out_ty, input, reduction_indices, keep_dims); } // TODO: Templatize this fold for all reduction ops. OpFoldResult SumOp::fold(FoldAdaptor) { auto input_ty = getInput().getType().template dyn_cast<RankedTensorType>(); if (!input_ty) return {}; auto result_ty = getType().template dyn_cast<RankedTensorType>(); if (!result_ty) return {};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/template.go
*/ package util import ( "bytes" "text/template" "github.com/pkg/errors" ) // ParseTemplate validates and parses passed as argument template func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) { var buf bytes.Buffer tmpl, err := template.New("template").Parse(strtmpl) if err != nil { return nil, errors.Wrap(err, "error when parsing template") } err = tmpl.Execute(&buf, obj) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 26 07:17:21 UTC 2018 - 1.1K bytes - Viewed (0) -
fastapi/templating.py
from starlette.templating import Jinja2Templates as Jinja2Templates # noqa...
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Dec 20 18:50:00 UTC 2020 - 76 bytes - Viewed (0)