Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for if_builder (0.33 sec)

  1. pkg/registry/flowcontrol/ensurer/flowschema_test.go

    				MatchingPrecedence: matchingPrecedence,
    			},
    		},
    	}
    }
    
    func (b *fsBuilder) Object() *flowcontrolv1.FlowSchema {
    	return b.object
    }
    
    func (b *fsBuilder) WithGeneration(value int64) *fsBuilder {
    	b.object.SetGeneration(value)
    	return b
    }
    
    func (b *fsBuilder) WithAutoUpdateAnnotation(value string) *fsBuilder {
    	setAnnotation(b.object, value)
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.td

    }
    
    // This corresponds to tensorflow::Tensor.
    def TFTensorType : DialectType<Fallback_Dialect,
        CPred<"$_self.isa<::tfrt::fallback::TFTensorType>()">, "!tfrt_fallback.tf_tensor type">,
        BuildableType<"$_builder.getType<::tfrt::fallback::TFTensorType>()"> {
      let description = [{
        `!tfrt_fallback.tf_tensor type` represents a tensorflow::Tensor.
      }];
    }
    
    // This corresponds to tensorflow::Allocator.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. test/typeparam/issue50121b.dir/c.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package c
    
    import (
    	"./b"
    )
    
    func BuildInt() int {
    	return b.IntBuilder.New()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 241 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.td

        BuildableType<"$_builder.getType<::mlrt::compiler::FutureType>()"> {
      let description = [{
        `!mlrt.future type` represents a C++ mlrt::Future.
      }];
    }
    
    def MlrtPromiseType : DialectType<Mlrt_Dialect,
        CPred<"$_self.isa<::mlrt::compiler::PromiseType>()">, "!mlrt.promise type">,
        BuildableType<"$_builder.getType<::mlrt::compiler::PromiseType>()"> {
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def convertIntAttrTo32Bit : NativeCodeCall<
        "$_builder.getI32IntegerAttr($0.cast<IntegerAttr>().getInt())">;
    
    // Builds a constant bool attribute.
    class GetBoolAttr<int value> :
        NativeCodeCall<"$_builder.getBoolAttr(" # value #")">;
    
    // Converts an integer attribute $0 to 64-bit with builder.
    def convertIntAttrTo64Bit : NativeCodeCall<
        "$_builder.getI64IntegerAttr($0.cast<IntegerAttr>().getInt())">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_dialect.td

    }
    
    // This corresponds to tensorflow::Tensor.
    def TFTensorType : DialectType<TensorflowMlrt_Dialect,
        CPred<"$_self.isa<::tensorflow::tf_mlrt::TFTensorType>()">, "!tf_mlrt.tensor type">,
        BuildableType<"$_builder.getType<::tensorflow::tf_mlrt::TFTensorType>()"> {
      let description = [{
        `!tf_mlrt.tensor type` represents a tensorflow::Tensor.
      }];
    }
    
    // This corresponds to tensorflow::Device* .
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td

    //
    // The `returns` number indicates the number of results the function returns.
    class LiftAsTFPartitionedCall<string func_name, int returns = 1> :
      NativeCodeCall<"LiftAsFunctionCall($_builder, $_loc, "
                        "FunctionCallOpType::TFPartitionedCallOp, "
                        "\""# func_name #"\", $0...)", returns>;
    
    // Creates a function call with TF::XlaCallModuleOp and a new function to wrap
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. test/typeparam/issue50121b.dir/b.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import (
    	"./a"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 224 bytes
    - Viewed (0)
  9. tensorflow/c/kernels.cc

        void (*compute_func)(void*, TF_OpKernelContext*),
        void (*delete_func)(void*)) {
      TF_KernelBuilder* result = new TF_KernelBuilder;
      result->cc_builder = new ::tensorflow::KernelDefBuilder(op_name);
      result->cc_builder->Device(device_name);
      result->create_function = create_func;
      result->compute_function = compute_func;
      result->compute_async_function = nullptr;
      result->delete_function = delete_func;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

      CPred<"$_self.isa<DenseElementsAttr>()">,
      "non-opaque constant tensor">;
    
    def CreateGatherNdOp : NativeCodeCall<
        "$_builder.create<TF::GatherNdOp>($0.getLoc(), $0.getType(), $1, $2)">;
    
    def CreateTFCastOpI32 : NativeCodeCall<
        "CreateTFCastOpI32(&$_builder, $_loc, $0, $1)">;
    
    // Convert to std constant for statically shaped, non-opaque constants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top