Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,646 for templatize (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/kube/inject/template.go

    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    var InjectionFuncmap = createInjectionFuncmap()
    
    func createInjectionFuncmap() template.FuncMap {
    	return template.FuncMap{
    		"formatDuration":      formatDuration,
    		"isset":               isset,
    		"excludeInboundPort":  excludeInboundPort,
    		"includeInboundPorts": includeInboundPorts,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/matcher/template.go

    // PatherTemplateMatcher creates a URI template matcher for path.
    func PathTemplateMatcher(path string) *uri_template.UriTemplateMatchConfig {
    	return &uri_template.UriTemplateMatchConfig{
    		PathTemplate: sanitizePathTemplate(path),
    	}
    }
    
    // sanitizePathTemplate converts the path template into a valid envoy uri template.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/release/notes-template.md

    ## New features and usability improvements
    
    <!-- Do not add breaking changes or deprecations here! Add them to the upgrade guide instead. -->
    
    <!--
    
    ================== TEMPLATE ==============================
    
    <a name="FILL-IN-KEY-AREA"></a>
    ### FILL-IN-KEY-AREA improvements
    
    <<<FILL IN CONTEXT FOR KEY AREA>>>
    Example:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 14:04:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top