Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 126 for func_20 (0.17 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

      return IsReplicatedGraph(module);
    }
    
    bool HasTPUPartitionedCallOpInModule(mlir::ModuleOp module) {
      bool has_tpu_partitioned_call = false;
      for (auto func_op : module.getOps<mlir::func::FuncOp>()) {
        func_op->walk([&](mlir::TF::TPUPartitionedCallOp op) {
          has_tpu_partitioned_call = true;
        });
        if (has_tpu_partitioned_call) break;
      }
      return has_tpu_partitioned_call;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/empty-input-shapes.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir %s
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_BOOL
        }
      }
    }
    
    node {
      name: "func0"
      op: "func_name"
      input: "input"
    }
    
    library {
      function {
        signature {
          name: "func_name"
          input_arg {
            name: "arg0"
            type: DT_BOOL
          }
        }
        ret {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 01 22:43:47 UTC 2021
    - 491 bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy

            given:
            sourceFile << """
                #define FUNC2(X) X
                #define FUNC1(X) FUNC2
                #define HEADER(X) X
                #include HEADER(FUNC1 (~) ("hello.h")) // replaced by FUNC1(~)("hello.h") then FUNC2("hello.h")
            """
    
            expect:
            resolve() == [header]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

          llvm_unreachable("no implementation.");
          return failure();
        }
      }
      return success();
    }
    
    LogicalResult QuantizeContext::Finalize() {
      MLIRContext *context = func_.getContext();
      func_.walk([&](quantfork::QuantizeRegionOp op) {
        llvm::SmallVector<Attribute, 4> input_specs;
        auto original_input_specs = op.getInputSpecs().getValue();
        for (int i = 0, e = op.getNumOperands(); i != e; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue34577.dir/b.go

    package b
    
    import "./a"
    
    type B struct {
    	s string
    }
    
    func (b B) Func(x a.A) a.A {
    	return a.W(x, k, b)
    }
    
    type ktype int
    
    const k ktype = 0
    
    func Func2() a.AI {
    	return a.ACC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 338 bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.cc

                    TF_Status* status) {
      TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status);
      for (const auto& attr : func.attr()) {
        if (!status->status.ok()) return nullptr;
        SetOpAttrValueScalar(ctx, func_op, attr.second, attr.first.data(), status);
        if (!status->status.ok()) return nullptr;
      }
      return func_op;
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

                                  const bool infer_tensor_range,
                                  const bool legacy_float_scale = false,
                                  const bool is_qdq_conversion = false)
          : fn_(func_op),
            builder_(func_op.getBody()),
            is_signed_(is_signed),
            bit_width_(bit_width),
            disable_per_channel_(disable_per_channel),
            op_quant_spec_getter_(op_quant_spec_getter),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/runtime/example_test.go

    			}
    		}
    	}
    
    	b := func() { c() }
    	a := func() { b() }
    
    	a()
    	// Output:
    	// - more:true | runtime.Callers
    	// - more:true | runtime_test.ExampleFrames.func1
    	// - more:true | runtime_test.ExampleFrames.func2
    	// - more:true | runtime_test.ExampleFrames.func3
    	// - more:true | runtime_test.ExampleFrames
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 18 22:05:09 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. test/escape4.go

    		p = alloc(3) // ERROR "inlining call to alloc"
    	}() // ERROR "inlining call to f1.func1" "inlining call to alloc" "moved to heap: x"
    
    	f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
    		p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x"
    	}
    	f()
    }
    
    func f2() {} // ERROR "can inline f2"
    
    // No inline for recover; panic now allowed to inline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

    // to set attributes specific to this pass.
    void AddAttrs(OpsAdded& ops_added, OpBuilder& builder, int func_count) {
      func::FuncOp& added_func_op = ops_added.func_op;
      func::CallOp& added_call_op = ops_added.call_op;
      StringAttr interface_name =
          builder.getStringAttr(absl::StrCat("func_", func_count));
    
      added_func_op->setAttr(kInterfaceNameAttr, interface_name);
      added_call_op->setAttr(kInterfaceNameAttr, interface_name);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top